Skip to main content
fixed the conditional code.
Source Link
Howdy_McGee
  • 20.8k
  • 24
  • 91
  • 175

You can use the conditional tag, is_sticky() to check whether or not a specific post is a sticky post or not.

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

You can try the following inside your loop

if(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.

You can try the following inside your loop

if( is_sticky() ) {

    //Display your desired image

}
added 1 character in body
Source Link
Brad Dalton
  • 7k
  • 2
  • 36
  • 47

You can use the conditional tag, is_sticky() to check whether or not a specific post is a sticky post or not

You can try hethe following inside your loop

if(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

You can try he following inside your loop

if(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

You can try the following inside your loop

if(is(sticky()) {

    //Display your desired image

}
Source Link
Pieter Goosen
  • 55.4k
  • 23
  • 115
  • 209

You can use the conditional tag, is_sticky() to check whether or not a specific post is a sticky post or not

You can try he following inside your loop

if(is(sticky()) {

    //Display your desired image

}