WordPress.org

Ready to get started?Download WordPress

Forums

Quotes Collection
[resolved] 1 Pagination line instead of 2 with quotcoll function (3 posts)

  1. marjons
    Member
    Posted 2 years ago #

    When using the quotcoll shortcode with pagination:
    I would like to know if it's possible to change the 2 pagination lines (at the top and bottom) to 1 line, i.e. only at the top OR bottom.

    Because when you only want to show 1 quote it looks a bit weird to have a link to the other quotes above and below the quote.

    I'm thinking it should be somewhere in the quotes-collection.php file?

    Help would be very much appreciated, thanks in advance!

    And very nice plugin BTW, thanks for that!

    http://wordpress.org/extend/plugins/quotes-collection/

  2. SriniG
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, it's possible.

    On line 108 of quotes-collection-shortcodes.php you'll find this code

    return $page_nav.quotescollection_output_format($quotes).$page_nav;

    change it to

    return quotescollection_output_format($quotes).$page_nav;

  3. marjons
    Member
    Posted 2 years ago #

    Hi Srini, thank you very much! This worked perfect for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic