• Resolved napps126

    (@napps126)


    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter napps126

    (@napps126)

    Anyone has an idea????

    Michael

    (@alchymyth)

    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);

    Thread Starter napps126

    (@napps126)

    attempted that. created an error message *smh lol

    Thread Starter napps126

    (@napps126)

    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

    Michael

    (@alchymyth)

    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);

    Thread Starter napps126

    (@napps126)

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

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Techified Theme Removes Older Entries Button’ is closed to new replies.