WordPress.org

Forums

How to limit posts in a news category page? (3 posts)

  1. YellowTexan
    Member
    Posted 8 years ago #

    I'm sorry if it is in the Wiki or template manual but I couldn't find it. Okay, here is my simple dumb question in a non-vague of sort of a way.
    I'm currently working on my small college's student newspaper website and my stories are seperated by "news categories." How do I limit WordPress on how many "news posts" on a news category page. In other words, I want to have a link in my news category page called, "Next Page."
    My WordPress setup has default settings with no hacks. It has the standard "index.php?p=xx" link-style.
    I have a lot of "news posts" for each "news category" and I don't want my visitors to have a long scroll. Thanks....

  2. Silver
    Member
    Posted 8 years ago #

    I know that if you set your blog to "posts paged" (Under Options-Reading), this will automatically set your blog to show a certain number of entries per page. You may then insert the post_nav_link function in your index.php page and it will insert "Next page/previous page".
    http://wiki.wordpress.org/posts_nav_link
    For more information on the posts_nav_link function. My site uses something similar.

  3. YellowTexan
    Member
    Posted 8 years ago #

    nevermind. I have found the page that I'm looking for. Thanks for replying though.
    http://wiki.wordpress.org/CategoryRestrictions
    I should have used the search feature on the Wiki....

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.