Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #199706

    Hi,

    After activating a child theme for Enfold, The portfolio categories are no longer appearing correctly above the Portfolio grid on my main Portfolio page. ‘All’ is the only portfolio category that is displayed. Note: Problem persists even if I re-activate Enfold theme rather than using child.

    I have all categories selected in the Portfolio Grid Settings window as well as ‘Sortable?’ set to ‘yes’. All Portfolio Items have valid portfolio categories assigned to them.

    Any help would be much appreciated.

    The page I’m talking about can be viewed here: http://www.pixelboy.com.au/portfolio/

    Cheers

    • This topic was modified 10 years, 11 months ago by pixelboy1.
    #199813

    OK – I solved it myself. Hope this may help someone else having the same problem –

    In the file ‘themes > enfold > config-templatebuilder > avia-shortcodes > portfolio.php’ around line 455 there is the following line of code:

    if(in_array($category->term_id, $current_page_cats, true))

    Change the ‘true’ to ‘false’ so it reads:

    if(in_array($category->term_id, $current_page_cats, false))

    (The Kriesi team might want to make the change above in a future update??)

    Cheers

    • This reply was modified 10 years, 11 months ago by pixelboy1.
    #199823

    Hi!

    Glad you fixed it. I’ll notify Kriesi. Did you recently update to WordPress 3.8?

    Dude provided a fix here: https://kriesi.at/support/topic/enfold-portfolio-not-working-after-wordpress-3-8-update/

    Cheers!
    Ismael

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Portfolio Grid – Portfolio Categories not displaying’ is closed to new replies.