Tagged: portfolio categories
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/
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??)
The topic ‘Portfolio Grid – Portfolio Categories not displaying’ is closed to new replies.