WordPress.org

Support

Support » Themes and Templates » Forever » How to only display 4 post on homepage

How to only display 4 post on homepage

  • 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?

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘How to only display 4 post on homepage’ is closed to new replies.
Skip to toolbar