Customise Home Page to show featured posts

Home Forums Automattic Newsy Customise Home Page to show featured posts

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #106867 Resolve

    Jack

    Hi,
    I want to make the Home Page of my site (Newsy Theme) display “featured” posts ( say, max 8 or 10 posts). Currently the only option is to set the number of posts/page so other posts spill over to Home Page 2.

    Is there a CSS fix for this?

    The blog I need help with is reigatebeekeepers.org.uk
    #134596

    Michelle

    Hi there,

    Newsy doesn’t have a “featured posts” option, but you can mark posts as “sticky”, which will place them before non-sticky posts on the front page. (And yes, you’d then set the number of posts to 8 or 10 (or however many you want). Sticky posts get a grey background color by default, but you can change this with CSS.

    I hope this helps!

    #134601

    Jack

    Hi,

    Many thanks for the speedy response.

    What I’m hoping is that there is a workaround to the lack of a “featured posts” option. Because I have more than 10 posts in total on the site …yes I can use the “sticky post” option & limit the number of posts to 8 or, 10 but……. all the other posts still show up in Home Page 2, 3 etc. That’s what I want to eliminate because all these other posts are already or, will be featured in the blog menus.

    #134610

    Michelle

    Hi @henfold,

    I see. I’m afraid that there isn’t a real workaround for this. The only thing I can think of is to hide the post pagination links at the bottom of the front page with CSS. For example, you could do something like this:

    body.home #nav-below {
    display: none;
    }

    Then you can just display sticky posts on the front page and adjust the number of posts to show.

    #134611

    Jack

    Hi @ michiecat,

    Pasted the CSS with & without a hash tag before “body” in the code you provided & saved!

    However, the post pagination link at the bottom of the Home Page is still there. Any suggestions?

    #134612

    Jack

    Hi @ michiecat,

    Pasted the CSS with & without a hash tag before “body” in the code you provided & saved!

    However, the post pagination link at the bottom of the Home Page is still there. Any suggestions?

    #135317

    Caroline Moore

    Howdy @henfold! It looks like some of your CSS is commented out, and some of the syntax is incorrect, which is probably why it’s not working.

    Comments in your Custom CSS look like this:

    */ My comment here /*

    But a proper CSS comment looks like this:

    /* My comment here */

    Once you’ve fixed this, I bet the navigation code will work. Give it a try and let us know. Thanks!

    #135343

    Jack

    Thanks sixhours . Your wonderful & I’m foolish. The navigation code is now fixed.

    I have one more CSS fix which hasn’t quite worked out as expected. The Comment box for each post is now (correctly) preceeded by “please comment her on the above post) but, is it possible to remove the text inside the Comment box which says “ENTER YOUR COMMENT HERE”?

    #135347

    Caroline Moore

    Happy to help! Glad that’s sorted.

    It’s not possible to change or remove the text within the comment box — that’s standard across WordPress.com.

    I hope this helps!

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Customise Home Page to show featured posts’ is closed to new replies.