Just had a client upgrade to WordPress 3.8, and now the Portfolio grids are not working. Using Enfold Version 2.1. Please advise.
page link: http://goo.gl/Rjc6Ji
Please update Enfold to the latest version 2.4.2 via FTP
For a quick guide on updating your theme take a look at this video on updating the Enfold theme via FTP: https://vimeo.com/channels/aviathemes/67209750
Must join the conversation…
WP 3.8 results in the Portfolio categories (in Ajax view) disappearing… Any ideas? Using 2.4.2 on a fresh install (from 3 days ago)…
Screenshot here: http://www.swarez.co.uk/images/Untitled-1.jpg
I used to have all my Portfolio Categories in here… HELP!!!!
@swarez Can you enable right click on your website so we can inspect elements?
It seems like the return value of the category id is not an integer but a text since 3.8 and the new variable type breaks our in_array() check. Open up /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php and replace
if(in_array($category->term_id, $current_page_cats, true))
and afterwards edit /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php and replace
if(in_array($term->term_id, $current_page_terms, true))
I’ll ask Kriesi to release an update asap.
That works! Thankyou so much. What a clever man!
** Yigit** – I enabled right click in case you want to check but it looks like it works now. Also it seems like WP3.8 has fixed the Progress bar animation too! Weird…
Thanks guys. Looking forward t the next update.
The topic ‘Enfold portfolio not working after WordPress 3.8 update?’ is closed to new replies.