Support » Theme: Kale » sticky post upsets 2 plus 1 layout

  • Resolved Robert Trevellyan

    (@trevellyan)


    When the Bog Feed Posts Display Format is set to 2 small posts followed by 1 full, setting a single post to sticky results in an orphaned post at the bottom, which looks untidy. It would be nice if the posts were still shown in groups of 3.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi Robert,

    Thank you for getting in touch with us.

    I had a look at your site and noticed that sticky post is showing as the first post in blog feed which is normal behaviour. I also tested it on my side and it’s working the same way. Are you still having any issue with this?

    Kind regards

    The sticky post is showing at the top as intended. The problem is that this disturbs the otherwise tidy groups of 3. Without the stick post, we get a nice 2+1, 2+1. With the sticky post, we get 2+1, 2+1, 1, which looks untidy. It would be nice if the sticky post pushed the last post onto the next page instead of leaving it on a line by itself.

    There is quick workaround if you want to keep posts in blog feed as 2+1, 2+1. Please go to Settings → Reading section and set “Blog pages show at most” option to 6. I tested it on my side and it worked fine.

    Kind regards

    Thanks for the suggestion, but it didn’t work for me. With “Blog pages show at most” set to 6 and one sticky post, I still get the single orphaned post on a line on its own at the bottom of the home page. And it applies to all the other blog pages (categories etc), which is very limiting.

    I’m very sorry for back and forth on this.

    Could you please contact us via our support system here and mention Jarek: https://www.lyrathemes.com/support/

    I am not allowed to ask for your site’s details here, which would let me help you out.

    Kind regards

    Request submitted.

    Thank you. Looking now.

    Theme Author lyrathemes

    (@lyrathemes)

    Actually, what you’re experiencing is a known bug:
    https://codex.wordpress.org/Sticky_Posts#Display_Sticky_Posts
    https://core.trac.wordpress.org/ticket/27282

    Specifically, by default, if all of the sticky posts are not listed in the most recently published posts, additional posts will be appended on. For example, if we were to fetch the 6 most recent posts and if only 1 of the 6 mostly recent published posts are sticky and there 5 sticky posts total; there will be 10 posts that will display.

    Got it, thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘sticky post upsets 2 plus 1 layout’ is closed to new replies.