Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
93 views

Check if parent post is sticky on attachment page?

I use this code on post template (single.php) to check if current post is sticky: <?php if ( is_sticky() ) echo 'Post is sticky.'; ?> But it is not working on attachment page template (image....
Advanced SEO's user avatar