Forums

[resolved] Techified Theme Removes Older Entries Button (7 posts)

  1. napps126
    Member
    Posted 1 year ago #

    I have a Techified Theme on http://www.iblog126.com.

    After the 1000th post, the older entries button at the bottom of the page, above the footer, disappears. If i remove every post after 999, it appears again. the link is suppose to take me to http://www.iblog126.com/page/2/ and so on.

    Anyone would know why? Please let me know. thanks.

  2. napps126
    Member
    Posted 1 year ago #

    Anyone has an idea????

  3. alchymyth
    The Sweeper
    Posted 1 year ago #

    check this line in paginate.php:
    if (0 < $numposts) $numposts = number_format($numposts);

    this might break the number.
    http://php.net/manual/en/function.number-format.php

    possibly change it to:
    if (0 < $numposts) $numposts = int($numposts);

  4. napps126
    Member
    Posted 1 year ago #

    attempted that. created an error message *smh lol

  5. napps126
    Member
    Posted 1 year ago #

    I'm assuming is a issue with wp-pagenavi plugin but i dont know what exactly. It worked perfectly fine up to the 1000th post and was installed with the theme

  6. alchymyth
    The Sweeper
    Posted 1 year ago #

    attempted that. created an error message *smh lol

    my mistake - i didn't double check the syntax of (int) :-(

    try:
    if (0 < $numposts) $numposts = (int)$numposts;

    or you could even try to totally remove the line:
    if (0 < $numposts) $numposts = number_format($numposts);

  7. napps126
    Member
    Posted 1 year ago #

    Your A Genius Man!!! Thanks. Removing it worked. Thanks alot!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic