Site logo

Archived topic

Sticky Posts from page 2 and on

5 replies · Started by Garth Dryland on April 27, 2016

Viewing posts 1–6 of 6

Hi Tom

Thanks for yours comments on the other topics. Looking forward to the new menu plus feature coming soon.

I came across an issue today and I'm not sure if its WordPress core related or GP but whatever its origin its something you may want to look at introducing as a fix for if its possible.

Today I updated an old blog post and set it to sticky to show info about the latest changes. It's a typical post with Site Updates as the title for a log of a sort you could say with past changes listed by date.

What I discovered was if the post originates from page two or on, the sticky post still appears on page two or what ever page it came from however if the post originates on page one the post vanishes from the visible blog posts. In my view a sticky post should only display as the sticky post, not twice in the blog for any reason.

Changing the number of posts per page shows me its related to whether a post is on page one or not and if it is and it's a sticky, it disappears and only displays as a sticky however if it's a sticky and from page 2 or on it remains visible on that page as well as a sticky on page one and this happens regardless of whether you use a standard blog, columns or masonry options.

This seems like a bizarre function that's worth fixing if possible. I can't see any reason a sticky post should appear twice in a blog, in fact it could potentially hurt SEO if its determined as duplicate content by search engines.

Interested to know what you think and if anything could be done to make sure a sticky post only shows as a sticky post and not elsewhere in the blog on another page at the same time.

Cheers

Hi there,

I believe this is just standard WordPress functionality.

You may want to ask over on http://wordpress.stackexchange.com to see if anyone has a fix/any ideas on it.

Ok Tom

I'll go and ask there. If I find a fix for this I'll post it here.

Thanks

Thanks!

It's not something that can be included in GeneratePress - WordPress.org is very picky about keeping core WordPress functionality intact within the themes hosted in the directory.

However, you can easily add that code to your site and see if it works :)

This archived topic is closed to new replies.