Support » Fixing WordPress » STICKY POSTS – display freshest 3

  • Well:

    I want to always have the freshest 3 posts as sticky ones. So, I’m asking you if there’s a code to put in custom CSS to make this happen. This means for example:

    I have 5 post. 5, 4, 3, 2, 1(oldest). 5,4 and 3 are sticky already. I want to add another post, number 6. Number 3 is not anymore sticky. Now, 6,5,4 are the sticky ones.

    You got it? 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • This would not be controlled by your theme’s CSS but via it’s coding and WordPress core. What theme are you using? Where did you download it from?

    Thread Starter roxirose

    (@roxirose)

    ‎Esplanade. From wordpress.org.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Once again, you may want to consider posting in that theme’s dedicated support sub-forum if you have theme specific support questions.

    https://wordpress.org/support/theme/esplanade#postform

    But as Esmi has indicated sticky posts are built into WordPress core. Can you reproduce this problem when you temporarily switch to the Twenty Fourteen theme?

    Thread Starter roxirose

    (@roxirose)

    In every theme i could have, I would have been trying the same thing. This code I’m asking for, can make my whole work more organized.
    Doesn’t depend on theme. That’s why I didn’t post this on Esplanade support page.

    It’s generally. An instrument to organize my work. Sure it’s possible to make that code, I’m working it right now. But I was think about some help.. 🙁

    Sticky posts work just fine in the default 2014 theme, so perhaps this is theme specific?

    Thread Starter roxirose

    (@roxirose)

    Let me show you an example:

    If Content Scheduler plugin can make a sticky post expire on a certain date, why we can not make a sticky post expire when a new one is published?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    But I was think about some help.. 🙁

    And it’s not a bad question. 😉

    I want to always have the freshest 3 posts as sticky ones. So, I’m asking you if there’s a code to put in custom CSS to make this happen. This means for example:

    The thing is that sticky posts are not the last three posts. It’s the posts that you’ve manually selected as sticky.

    http://codex.wordpress.org/Sticky_Posts

    Your theme (any theme I think) will default to showing the lasts posts in order (last one, then the one before, next one, etc.)

    Are you trying to modify the presentation of those last 3 posts in your theme?

    Thread Starter roxirose

    (@roxirose)

    The thing is that sticky posts are not the last three posts.

    They are not, but I try to find a way to make them be

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘STICKY POSTS – display freshest 3’ is closed to new replies.