WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Pagination

[Resolved] Pagination

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author kevinhaig

    @kevinhaig

    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.

    Ok that worked, many thanks Kevin.

    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!

    Plugin Author kevinhaig

    @kevinhaig

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

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

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

    Plugin Author kevinhaig

    @kevinhaig

    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?

    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!

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

    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>

    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.

    Plugin Author kevinhaig

    @kevinhaig

    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?

    Plugin Author kevinhaig

    @kevinhaig

    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.

    Thanks, Kevin. Wasn’t a plugin issue. 🙂

    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/

    Plugin Author kevinhaig

    @kevinhaig

    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.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Resolved] Pagination’ is closed to new replies.