“Read More Testimonials” customization
-
Hello,
I’m using the Strong Testimonials plugin version 2.28.4 and having an issue customizing the “Read More Testimonials” link that is placed below the list of the testimonials in different views.
It is rendered in function wpmtst_read_more_page() (includes/functions-template.php line 127), and final output needs additional filter to make it customizable.
Instead ofecho sprintf( '<div class="%s"><a href="%s">%s</a></div>', $classname, esc_url( $permalink ), $link_text );there should be something like
echo apply_filters('wpmtst_read_more_page_output', sprintf( '<div class="%s"><a href="%s">%s</a></div>', $classname, esc_url( $permalink ), $link_text ));That way the final out can be customized in a website theme.
Additionally the “Read More” link itself can have a CSS class customized using filters with code like that:
$link_class = apply_filters( 'wpmtst_read_more_page_link_class' , 'readmore-link');I hope that changes will be valuable for StrongTestimoials users.
The topic ‘“Read More Testimonials” customization’ is closed to new replies.