Before the Enfold update, the shortcodes of the strong testimonials plugin worked in the excerpts of a portfolio. Now they are no longer working. Is there a way to display them again?
Thanks a lot for your help
Alain
Hey Alain,
Sorry for the late reply!
That is default behaviour. If it worked before, i am guessing you have made changes on theme files and have not moved them to child theme and updating the theme overwrote it.
Please use a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and move enfold/config-templatebuilder/avia-shortcodes/portfolio.php file to your child theme – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Then find following line
$output .= !empty($excerpt) ? "<div class='grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)).">".$excerpt."</div>" : '';
and change it to following
$output .= !empty($excerpt) ? "<div class='grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)).">".do_shortcode($excerpt)."</div>" : '';
Best regards,
Yigit