Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
You can use the conditional tag, is_sticky() to check whether or not a specific post is a sticky post or not.
is_sticky()
You can try the following inside your loop
if(is(sticky is_sticky() ) { //Display your desired image }
You can use the conditional tag, is_sticky() to check whether or not a specific post is a sticky post or not
if(is(sticky()) { //Display your desired image }
if( is_sticky() ) { //Display your desired image }
You can try hethe following inside your loop
You can try he following inside your loop