Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

Update sticky icon to appear on all post formats, only on blog index #349

Merged

Conversation

laurelfulford
Copy link
Collaborator

The sticky icon was only appearing on post formats using the content.php file - so it was not appearing on sticky audio, video, gallery or image posts:

Image

When it was displaying, it was also appearing on single posts, and whenever the post appeared, not just in its stuck position. Here's an example of the sticky post:

Image

This PR makes sure the icon only appears on the blog index, when the post is 'stuck' (and not in the regular flow), and for all post formats.

…ed on the blog index, when the post is sticking.
@samikeijonen
Copy link
Contributor

Looks good.

@davidakennedy davidakennedy merged commit 76fbf4e into WordPress:master Oct 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants