Support » Plugin: Easy Testimonials » Widget – truncate content with "Read More" link

  • Resolved M One

    (@m-one)


    Can’t work out how to do this – obviously want widget to display XXX characters of testimonial content together with author and read more link as testimonials have wildly varying lengths and the widget has to fit into a layout.

    So how do I display rotating testimonials with a read more link?

    Thanks.

    https://wordpress.org/plugins/easy-testimonials/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author richardgabriel

    (@richardgabriel)

    Hey!

    If you use the Read More tag inside your Testimonial content, and then use the Use Excerpt attribute on the widget or shortcode, you should have the desired effect.

    Best,
    Richard

    clownguts

    (@clownguts)

    Hi Richard,

    How can I do this using shortcodes?

    Thanks

    Plugin Author richardgabriel

    (@richardgabriel)

    Hey clownguts!

    Via a shortcode, you want the attribute use_excerpt=1 set.

    For example: [testimonials use_excerpt=1].

    That will display the content up to the Read More tag that you have input inside the Body of your Testimonial (the standard WordPress Read More tag.)

    Best,
    Richard

    clownguts

    (@clownguts)

    Hi Richard,

    Thanks for that, worked perfectly

    Cheers

    Plugin Author richardgabriel

    (@richardgabriel)

    Great! Thanks, clownguts.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Widget – truncate content with "Read More" link’ is closed to new replies.