Need help? Check out our Support site, then


Main page only 1 post

  1. Hi,

    I am trying to figure out how to make the main page (page you see when you open the blog) of my wordpress to show only my latest post that I have done, but have the categories that they are categorized under show all the posts. I know I can limit it to 1 post on the settings, but then that does that for everything.

    Does anyone know how I can do that? Or a CSS code that I could use?

    Any help is appreciated!

    The blog I need help with is ruthiesommers.wordpress.com.

  2. HI there,

    You should be able to do this if you edit CSS. Please go to Appearance > Customize > CSS and try adding this:

    .home article.post:not(:first-child) {
    	display: none;
    }

    That should just leave the latest post and remove the rest on the Home page.

    Let me know if you have any questions with this!

  3. There's still a couple of older posts that show up.. do you know why this might be?

  4. Ah I had to remove Infinite Scroll. Now it should be just the first post.

    Cheers!

Replies limited to Staff and User

Replies in this forum are limited to staff members and the user who made the support request at the moment.

About this Topic