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
Hey paulsutton!
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
Regards,
Yigit
Hey Yigit
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!!!!
Ed
Same issue. You can right click on this site.
http://paulraffstudio.wpengine.com/portfolio/ (hosted on WPengine)
Hi!
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))
with
if(in_array($category->term_id, $current_page_cats))
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))
with
if(in_array($term->term_id, $current_page_terms))
I’ll ask Kriesi to release an update asap.
Regards,
Peter
Hi Dude
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.
Regards
Ed