WordPress.org

Forums

Quotes Collection
[resolved] Pagination error (11 posts)

  1. Pepperfly
    Member
    Posted 3 years ago #

    I have 40 quotes. I'm using the following shortcode:

    [quotcoll paging=true limit_per_page=6]

    The hypothetical URL of the quotes page is:

    http://www.mydomain.com/subpage/quotes

    Every page link shows:

    http://www.mydomain.com/index.php?quotes_page=#

    ...where # is the page number of the next set of quotes.

    These links got to my homepage, rather than:

    http://www.mydomain.com/subpage/quotes?quotes_page=#

    Is there a fix??

    I see many posts go unanswered for extended periods of time. I hope, I hope, I hope I can get a response to this issue very, very soon. :-)

    Thanks.

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

  2. Jason Paul
    Member
    Posted 3 years ago #

    ah, you beat me to this one. I also get the exact same pagination error. Hopefully this gets fixed soon.

  3. Cjcornell2
    Member
    Posted 3 years ago #

    same exact problem here!

  4. Jason Paul
    Member
    Posted 3 years ago #

    yikes...a month and no fix. Getting serious (I've got some quotes that are getting veeerry long on the page and could desperately use some pagination).

  5. kremerdesign
    Member
    Posted 3 years ago #

    Had the same issue, figured it out for me, and will hopefully work for others. In the quotes-collection.php file you need to change some of the code.

    Around line 177 change:

    if($i == $current)
    		$pagenav .= "&nbsp<strong>{$i}</strong>";
    	else if($i == 1)
    		$pagenav .= " <a href=\"{$url}\">{$i}</a>";
    	else
    		$pagenav .= " <a href=\"{$url}{$a}{$paged}={$i}\">{$i}</a>";

    to:

    if($i == $current)
    		$pagenav .= "&nbsp<strong>{$i}</strong>";
    	else
    		$pagenav .= " <a href=\"?{$paged}={$i}\">{$i}</a>";
  6. Kevin Ryman
    Member
    Posted 3 years ago #

    I have another pagination error. I have about 50 quotes and they are displayed in two pages. However, the page navigation links look like this:

    Goto page:&nbsp1 2

    Just a heads-up.

  7. Srini G
    Member
    Plugin Author

    Posted 3 years ago #

    These issues are fixed in version 1.5.5.1. Thanks.

  8. Pepperfly
    Member
    Posted 3 years ago #

    Thank you @kremerdesign! Thank you @Srini! :-)

  9. marshalp
    Member
    Posted 3 years ago #

    Is it possible to change the text "Goto page:"?

    Thanks
    Phil.

  10. Kevin Ryman
    Member
    Posted 3 years ago #

    Thank you very much, SriniG! I would also would like to be able to change the "Goto page:" to something else or at least to "Go to page:" Thanks!

  11. marjons
    Member
    Posted 3 years ago #

    You can change the text of the Goto page in the quotes-collection.php file (on line 187, change the text between the " " marks)

    But I'm not really sure if this is the best way to do it, it works anyway.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Quotes Collection
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic