WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] make testimonials widget a list, not rotating individual testimonials (5 posts)

  1. davidnjacoby
    Member
    Posted 1 year ago #

    Hi,

    Could explain how to do this? I know there are shortcodes for making the testimonials into a list, but that doesn't seem to be for the widget display.

    Thanks!

    http://wordpress.org/extend/plugins/testimonials-widget/

  2. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    You use the testimonialswidget_list shortcode, but you also need to add add_filter('widget_text', 'do_shortcode'); to your themes functions.php file.

  3. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    FYI - FAQ 47 is added to cover this.

  4. davidnjacoby
    Member
    Posted 1 year ago #

    Thank you! Where should that code be added within the functions.php file?

    Then, how does the shortcode itself work? I have used shortcodes within the body of posts for things like tables, but I'm not sure how to use this one to create the desired effect in the widget.

    My goal would be to have about 5 testimonials, displayed with the widget, all simultaneously visible.

    Thanks again!

    David

  5. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    I've updated FAQ 47 to be clearer in a future release. For now…

    First, you'll need to enable shortcodes in widget by adding add_filter('widget_text', 'do_shortcode'); to the bottom of your themes functions.php file, before the closing ?>.

    Then for the testimonials listing in a widget, use a Text widget with a shortcode like [testimonialswidget_list limit=5].

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic