• I have this at the top of my site.
    $blog = 1;
    if ($_GET[cat]){
    $cat=$_GET[cat];
    }else
    {$cat =”1 8 9 10 11 12″;
    }
    The only problem is it shows ALL posts from the accepted categories…how do I limit it? Changing it in the options does not work.
    Any help?

Viewing 6 replies - 1 through 6 (of 6 total)
  • If you want to limit displayed categories, this is the way to do it:
    http://mookitty.co.uk/devblog/category/show-categories/

    Thread Starter Anonymous

    I need to limit the amount of posts, not categories. My categories are limited.
    http://www.rukh.ca – have a look.

    Thread Starter Anonymous

    Can someone help me out with this?

    Thread Starter Anonymous

    Anyone out there?

    Thread Starter Anonymous

    Hi, I have the same problem as this person – I’m using the above hack to limit categories that come up on my front page (and other pages), and as soon as I did that, the pages started showing all of the posts in that category on the page, rather than limiting it to the setting I set in my options. My site is at: http://evilmoose.shafted.com.au

    After spending some more time trawling through the forums, I found a simple solution that works for me. Thought I’d post it here as well. You just need to go to the admin section, and in the Options -> Reading section, select the most X number posts PAGED, instead of just posts.

    Now I have to solve the problem of why the category links on my russell the moose page all just seem to take me back to the main page *sigh*

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Limit posts on page after Hack’ is closed to new replies.