severals questions

Discussion in 'Helium' started by Frédéric Maire, May 10, 2016.

  1. Frédéric Maire

    Frédéric Maire New Member

    Joined:
    May 3, 2016
    Messages:
    9
    Likes Received:
    0
    Hi,
    I use the Helium theme which is very nice and i have several questions for customization .

    Filter portfolio.
    Is it possible to filter by slug , not by name ? For example, I would like to class office before apartment.

    Portfolio
    On the page of portfolio, is it possible to show only the title and not the category ?
    I don't want the effect with the mouse on the title under the image - i want just on the mouse. Is it possible to stop it ?

    Line.
    How can we delete all the grey line (color f0f0f0) in the theme ?

    Thank you very much for your support,
    Fred
     
  2. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,584
    Likes Received:
    58
    Hi Fred,

    1. Filtering is currently done by category. You can adjust the categories just as how you want your filtering to be.

    2. You can hide the category with custom CSS, but disabling the effect is not recomended as it's by design.
    Use this CSS to hide the category:
    Code (CSS):
    .portfolio-info .portfolio-meta { display: none; }
    3. Those are not gray lines but the body background color. Just set body { background-color: #fff; } to remove all the grays

    Thanks!
     
  3. Frédéric Maire

    Frédéric Maire New Member

    Joined:
    May 3, 2016
    Messages:
    9
    Likes Received:
    0
    Hi,
    Is it possible to customize the ranking order of the portfolio of the filter so as not to have an alphabetical arrangement?
    Thanks,
    Fred
     
  4. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,584
    Likes Received:
    58
    Hi Fred,

    That's unfortunately not possible without code tweaking.
    In what order would you like to have them?

    Thanks!
     
  5. Frédéric Maire

    Frédéric Maire New Member

    Joined:
    May 3, 2016
    Messages:
    9
    Likes Received:
    0
    Hi,
    I just want to organize as i want. For example, i want this order : All / Bureaux / Enseignements / logements / Sport / Réalisé / Concours (It's a example for my website in French).
    If I put a number for each slug (as the exemple as below), is it possible to organize by slug ?
    Thanks you
    upload_2016-6-1_12-17-37.png
     
  6. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,584
    Likes Received:
    58
    Hi,

    The default ordering is by 'name':
    https://developer.wordpress.org/reference/functions/get_terms/

    So it won't work by changing the slug. You need to change the code for this.
    Are you familiar with PHP and WordPress?

    Otherwise, please provide me your login so I can change it to order by slug so you can use the numbered slugs.

    Thanks!
     
  7. CoryFreeman

    CoryFreeman New Member

    Joined:
    May 11, 2016
    Messages:
    5
    Likes Received:
    0
    I'd love to see the kind of changes we need to do to change the order since I too would love to be able to change mine to something other than alphabetical.

    Thanks!
     
  8. Frédéric Maire

    Frédéric Maire New Member

    Joined:
    May 3, 2016
    Messages:
    9
    Likes Received:
    0
    Hi,
    I have some notions of php and wordpress. If you tell me what is the new code and where to replace, I can do it.
    For the subheading on the portfolio items, do you do it in the last update of the 6 June 16 ?
    thanks
    fred
     
  9. Frédéric Maire

    Frédéric Maire New Member

    Joined:
    May 3, 2016
    Messages:
    9
    Likes Received:
    0
    Hi,
    I never find the place to modify the code to order by slug. Can you tell me the new code and where is it or do it for me ? (I want to preserve the name in the filter)
    Thanks
     

Share This Page