Hey,
I’d need a filter hook so I can modify the output HTML for the excerpt in the post slider (class avia_post_slider
). How soon could this be done?
File /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php
, row 390.
Current code:
$output .= !empty($excerpt) ? "<div class='slide-entry-excerpt entry-content' $markup>".$excerpt."</div>" : "";
Suggested code:
$excerpt = apply_filters('avia_post_slider_entry_excerpt', $excerpt, $prepare_excerpt, $permalink, $entry);
$output .= !empty($excerpt) ? "<div class='slide-entry-excerpt entry-content' $markup>".$excerpt."</div>" : "";
Thank you in advance.
Hi hanslindstrom!
Thank you for using our theme.
I included the following hook (to follow the new naming convetions for Enfold):
$excerpt = apply_filters( 'avf_post_slider_entry_excerpt', $excerpt, $prepare_excerpt, $permalink, $entry );
and placed a pull request to Kriesi. It should be included in the next update(s) if Kriesi approves it.
Best regards,
Günter
Hey Günter,
Excellent, thank you very much!
How do I know if/when it gets approved? I suppose these minor changes won’t be visible in the changelog.
Hey Günter,
Thank you for the good news, looking forward to the next release.
Thanks again for all help!