Forums

[resolved] Restrict Number of Posts on Main Page (8 posts)

  1. Ciwan86
    Member
    Posted 2 years ago #

    Hi Guys

    I'm working on creating a wordpress theme for a site. I am stuck on making the page naviagtion work and also how to restrict the number of posts that can appear on the main page.

    I'd greatly appreciate help in:

    1) How to restrict the number of posts in the main page
    2) How to the page navigation bar (bottom) work

    Thank You.

  2. Ciwan86
    Member
    Posted 2 years ago #

    Anyone ?

    I'd appreciate some links to some clear tuts as well. :(

  3. brevityness
    Member
    Posted 2 years ago #

    Under Settings, click on Reading. Then change the value for "Blog pages show at most" to the preferred number.

  4. Ciwan86
    Member
    Posted 2 years ago #

    Wow Thank You Brevityness I didn't know such an option existed !

    I have 5 posts and I want only 4 to show on the main page, so I went and changed that setting you mentioned to 4 > Now I am missing one, which is alright, but the Navigation Buttons at the bottom are NOT WORKING :(

    How do I get them to work ? What code do I need ?

    Thanks.

  5. apaulfx
    Member
    Posted 2 years ago #

    is that a plug-in you are using or is that just static html for the buttons? If you need a plug-in that will achieve the same affect try referring to wp-page-numbers. You can style it to your liking and it has great customization features.

  6. Ciwan86
    Member
    Posted 2 years ago #

    Hi apaulfx

    No it is just static html for buttons !

    Should I use the plugin ? I'm always scared of using plugins :(

  7. Ciwan86
    Member
    Posted 2 years ago #

    Thanks Brevityness and apaulfx

    I used the plugin and now it is sorted. :)

  8. brevityness
    Member
    Posted 2 years ago #

    I use WP Pagenavi. It's a very popular page navigation plugin. I recommend you trying that out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.