Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Kerry

    (@bluenotes)

    Hi ctutu,

    This would be a customization you would need to make by utilizing one of the available filters such as the bne_testimonials_the_content filter. This particular filter would all you to adjust the testimonial content output by changing get_the_content(); to get_the_excerpt();

    Then you would perhaps use a lightbox to display the remaining of the testimonial from a “continue reading” link or perhaps use a toggle show/hide method.

    Thread Starter ctutu

    (@ctutu)

    Hi,

    Thank you for your answer and great plugin.

    Unfortunatly, I’ve no enough experience to apply this customization.

    Do you think It’s possible to help me to do this ?

    Regards

    Plugin Author Kerry

    (@bluenotes)

    Is this in regards to the previous “spirit…” site? Does it include a lightbox plugin such as prettyPhoto or fancybox?

    Thread Starter ctutu

    (@ctutu)

    Hi,

    Yes for your both questions.
    I’ve installed the plugin called “Simple Lightbox” available on www.ads-software.com

    Plugin Author Kerry

    (@bluenotes)

    Ok that particular lightbox plugin does not allow for inline-content to be used. You will need to find another one such as this one: Easy Fancybox (free from plugin repo). This one does the same thing as the one you referenced and allows for inline content.

    Let me know if you pick that one or another one that allows inline-content so that I can format the edit for you.

    Thread Starter ctutu

    (@ctutu)

    Ok, I’ve installed your recommanded plugin Easy Fancybox.

    Plugin Author Kerry

    (@bluenotes)

    Here is the code you would need. This will shorten the testimonial message to the first 15 words and add a link that will trigger a lightbox showing the message in full. In the code you can adjust it how you see fit. Add the code to your theme’s functions.php file.

    This code supports the Easy Fancybox required classnames to make it work that you’ve already installed. In addition to adding the above code to your theme, you will need to go to the admin menu > Settings > Media. There will be a section called “Fancybox” (added from Easy Fancybox Plugin) with a series of checkboxes. Make sure you enable “Inline Content”. Then you should be good to go.

    Thread Starter ctutu

    (@ctutu)

    Thanks you very much for your help !!! It’s works perfectly.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Limit text size and add Read more link’ is closed to new replies.