WordPress.org

Ready to get started?Download WordPress

Forums

Forever
How to only display 4 post on homepage (2 posts)

  1. Brian Holloway
    Member
    Posted 10 months ago #

    I have selected to have the 4 post in columns on the homepage. Once there is a 5th post, it get put below the columns.

    Is there a way to hide the 5th and beyond posts on the homepage? or to have a "more" button instead of the 5th post?

  2. designsimply
    Member
    Posted 9 months ago #

    I think you're referring to the main posts list that gets listed on the home page by default. For example, the post titled "A Sticky Post with no featured Image" on this Forever theme demo site:
    http://foreverdemo.wordpress.com/

    If that section is indeed what you want to hide, along with the sidebar too, then one possible solution could be to use CSS to hide the primary and secondary content areas on the home page only. Here is an example you can try:

    .home #primary,
    .home #secondary {
    	display: none;
    }

    You can add custom CSS like this by using a plugin such as Jetpack. See http://jetpack.me/support/custom-css/ for more details.

Reply

You must log in to post.

About this Theme

About this Topic