Support » Plugin: Testimonials Widget » List of testimonials in side bar

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry, I forgot to add that I would like to have it in a side bar.

    Plugin Author Subharanjan


    Hi Stecco,

    We don’t really have a widget to show the listing but you can use any of our shortcodes to show listing inside a text widget by enabling shortcodes in widgets.

    Add the following to your theme’s functions.php file.

    add_filter( 'widget_text', 'do_shortcode' );

    Once added, use any variation of the shortcodes below:

    • List testimonials by post title – [testimonials order=ASC orderby=title]
    • Select testimonials tagged with either “test” or “fun”, in random order, but ignore those of the excluded ids – [testimonials tags="test,fun" random=true exclude="2,22,333"]
    • Show 15 testimonials, in company order – [testimonials meta_key=testimonials-widget-company order=asc limit=15]
    • Show 3 full-length testimonials, with opening and closing quote marks removed – [testimonials char_limit=0 target=_new limit=3 disable_quotes=true]
    • Show 5 full-length testimonials, with paging – [testimonials limit=5 paging=true char_limit=0]
    • Show all testimonials on one page – [testimonials char_limit=0 limit=-1]
    • Show one random testimonial – [testimonials limit=1 no_cache=true random=true]
    • Show only these 3 testimonials – [testimonials ids="1,11,111" paging=false]
    • This reply was modified 2 years, 9 months ago by  Subharanjan. Reason: formatting


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘List of testimonials in side bar’ is closed to new replies.