WordPress.org

Ready to get started?Download WordPress

Forums

Testimonial Basics
[resolved] Pagination (21 posts)

  1. Meeker
    Member
    Posted 1 year ago #

    Hi there,
    I am finding that pagination does not work, nor is there any confirmation message displayed once a review has been written. The website is http://www.bemptoncottage.com/testimonials/. I do use a WP Super Cache, but I am not convinced that is the problem.

    http://wordpress.org/extend/plugins/testimonial-basics/

  2. kevinhaig
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Meeker

    Did you set up your pagination in your options section?

    Also Pagination will only kick in if you are showing all testimonials or all testimonials in a group.

    See the user documentation at the plugin site.

  3. Meeker
    Member
    Posted 1 year ago #

    Ok that worked, many thanks Kevin.

  4. Taryn
    Member
    Posted 5 months ago #

    Hi - I'm also having trouble getting pagination to work. I do have group and number both set to "all" in the shortcode, and in the options, Use Pagination is checked and Testimonials per page is set to 5. However, it's showing all of them on one page. What am I missing?

    Thanks!

  5. kevinhaig
    Member
    Plugin Author

    Posted 5 months ago #

    It may be because of a cache. Make sure it is cleared.

    Also make sure when you select pagination you save your options.

  6. Taryn
    Member
    Posted 5 months ago #

    Hi - I've cleared my cache and have saved my options, but still no pagination. Any ideas? Thanks!

  7. kevinhaig
    Member
    Plugin Author

    Posted 5 months ago #

    Sorry it is not working.
    It has been tested and it does work so something is going on.

    What is your website address so I might take a look?

  8. Taryn
    Member
    Posted 5 months ago #

    Thank you so much! I can't figure it out. :( The site is at http://preview.vaughnpt.com/testimonials/.

    Here's my shortcode - maybe I'm just missing something obvious: [katb_testimonial group="" number="" by="random" id="" rotate="no"]

    In my settings, the box for Use Pagination is checked, and Testimonials per page is set to 5.

    Thanks again!

  9. Taryn
    Member
    Posted 5 months ago #

    I just realized the group and number are blank, so I changed them both to all, but that had no effect.

  10. Meeker
    Member
    Posted 5 months ago #

    Hi there, I can see that your paginate code is empty if compared to mine. I would suggest temporarily disable all other plugins to see if that does anything. This is the code I used:

    <code>[katb_testimonial group="all" by="date" id=""]</code>

  11. Meeker
    Member
    Posted 5 months ago #

    It might also be worth as a last resort entering the following into the page at the bottom manually:

    <form method="POST"><input type="hidden" name="tb_group" value="All" /><label class="katb_input_label1">Author *</label><input type="text" maxlength="100" name="tb_author" value="" /><br/><label class="katb_input_label1">Email *</label><input type="text" maxlength="100" name="tb_email" value="" /><br/><label class="katb_input_label1">Website</label><input type="text" maxlength="100" name="tb_website" value="" /><br/><label class="katb_input_label1">Location</label><input type="text" maxlength="100" name="tb_location" value="" /><br/><label class="katb_input_label2">Testimonial *</label><br/><textarea rows="5" name="tb_testimonial" ></textarea><div class="katb_captcha"><img src="http://www.example.com/wp-content/plugins/testimonial-basics/includes/katb_captcha_bw.php" alt="Verification Captcha" /><input type="text" id="verify_main" name="verify" value="Enter Captcha" onclick="this.select();" /></div><input class="katb_submit" type="submit" name="katb_submitted" value="Submit" /><input class="katb_reset" type="submit" name="katb_reset" value="Reset" /><input type="hidden" id="katb_main_form_nonce" name="katb_main_form_nonce" value="99701520de" /></form>

    You will have to change the domain name and possibly the value code at the end. To find that you might need to go into the DB table and have a look around.

  12. kevinhaig
    Member
    Plugin Author

    Posted 5 months ago #

    Hi all

    It's always best to set up the display on a page using the text mode instead of the visual mode. If you use visual mode the shortcode is wrapped in tags which can lead to unpredictable formatting as the themes css for the code tags will take precedence over the plugin's css.

    [katb_testimonial group="all" number="all" by="random" id="" rotate="no"]

    Pagination will work if you display all testimonials or all testimonials in a given group so the key tags are group="something" and number="all". The group name can be anything but if you want all testimonials put in group="all".

    Meeker, can I ask what you are trying to do with the above code?

  13. kevinhaig
    Member
    Plugin Author

    Posted 5 months ago #

    Taryn
    I took a look at the source code of your page and it is trying to load the pagination but nothing is happening.

    I will be back home in a few days and will be able to take a closer look.

  14. Taryn
    Member
    Posted 5 months ago #

    Thanks, Kevin. Wasn't a plugin issue. :)

  15. Taryn
    Member
    Posted 5 months ago #

    Hi Kevin - I was just wondering if you have any brilliant words of wisdom on this? It's still not working and I can't figure it out. Thanks!
    http://www.vaughnpt.com/testimonials/

  16. kevinhaig
    Member
    Plugin Author

    Posted 5 months ago #

    Thanks for the reminder. I will take a look at it.

    Can you supply the exact shortcode on the page bu copying it over to here?

    For some reason it is acting like there are not enough testimonials to paginate.

  17. kevinhaig
    Member
    Plugin Author

    Posted 5 months ago #

    I think I figured it out.

    You must be displaying all the testimonials randomly. Pagination is not available when testimonials are displayed randomly.

  18. Taryn
    Member
    Posted 5 months ago #

    Wee! I KNEW it had to be something simple! It's working perfectly now - thank you so much! :)

  19. rdeigsler
    Member
    Posted 2 months ago #

    Hi Kevin,

    Unfortunately my pagination stopped working. It had been working in the past but a user reported that it is not working now. The page can be viewed at http://www.introflights.com/testimonials/ . The shortcode is [katb_testimonial group="all" number="all" by="date" id="" rotate="no"]. No changes have been made to this since its implementation. Any help would be much appreciated.

  20. kevinhaig
    Member
    Plugin Author

    Posted 1 month ago #

    Your problem is different. Please post on a new thread next time.

    It looks like you are messing with the code. The pagination form tag is
    <div class="katb_paginate" method="POST" <form="" style="padding-bottom:30px">
    should be...
    <form class="katb_paginate" method="POST">

  21. rdeigsler
    Member
    Posted 1 month ago #

    You are so right Kevin, very sorry to have needlessly bothered you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic