WordPress.org

Ready to get started?Download WordPress

Forums

IvyCat AJAX Testimonials
[resolved] List shortcode not working (3 posts)

  1. umm_layth
    Member
    Posted 1 year ago #

    Hello,

    I love your plugin :) For some reason though, I tried the 'list' shortcode it only shows a limited number of words. I tried using num-words='-1' and num-words='0' but nothing works.

    I ended up looking at a solution you gave someone else by using the Posts In Page, but the permalinks are not working (and I have it set up to not have the ?p=123)so the tesimonial doesn't go anywhere, and it shows the commentsi n the page which my client doesn;t want.

    Here is the shortcode i used, any suggestions?

    [ic_add_posts post_type='testimonials' showposts='-1']

    and I also tried:
    [ic_do_testimonials display='list' quantity='-1']

    This is how the testimonial displays, instead of showing the full testimonial:
    "I met Manal on an internet group when I was at a really low point in my life. She was the one who introduced me to EFT and advised me to try the youtube-films of Brad Yates. This was a big revelation to me. I suffer from an anxiety disorder and panic attacks and the [...]"

    http://wordpress.org/extend/plugins/ivycat-ajax-testimonials/

  2. Ldjautobody
    Member
    Posted 1 year ago #

    Hi umm-layth,

    Not sure if this will help you or not, but I just started using this plugin too and I finally got an idea of how the shortcodes work. I too was trying to display a list of "testimonials" on a page where all of the testimonials will show up one after the other. I had exactly the same problem as you where the testimonial was shortened and there was no way to see the entire post.

    I modified the list shortcode to the following and it works just fine...so try this shortcode and see if it helps:

    [ic_do_testimonials display='list' quantity='-1 num_words='140' more_tag='Read More...'']

    Be sure to remove the backticks from the shortcode that is necessary to show code on this forum! This shortcode will allow you to show all testimonials, displays the first 140 words and inserts a "read more" button at the end of the 140 words.

    Hope that helps you out!

    Ldjautobody

  3. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    umm_layth & ldjautobody,

    Thanks for the question & solution.

    I ended up looking at a solution you gave someone else by using the Posts In Page, but

    We ended up building this functionality into this plugin.

    Check out the following two sections on this page:

    http://wordpress.org/plugins/ivycat-ajax-testimonials/installation/

    • Display testimonials in a list, rather than one at a time.
    • Customize testimonial list presentation

    By default the loop used to show testimonial lists shows <?php the_excerpt(); ?> rather than <?php the_content(); ?>, so that's why you don't see the full testimonial by default.

    To change this, follow the instructions in the Customize testimonial list presentation section of the above installation page.

  4. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    umm_layth & ldjautobody,

    Thanks for the question & solution.

    I ended up looking at a solution you gave someone else by using the Posts In Page, but

    We ended up building this functionality into this plugin.

    Check out the following two sections on this page:

    http://wordpress.org/plugins/ivycat-ajax-testimonials/installation/

    • Display testimonials in a list, rather than one at a time.
    • Customize testimonial list presentation

    By default the loop used to show testimonial lists shows <?php the_excerpt(); ?> rather than <?php the_content(); ?>, so that's why you don't see the full testimonial by default.

    To change this, follow the instructions in the Customize testimonial list presentation section of the above installation page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags