Query sticky posts with thumbnails
I need to display max 5 latest sticky posts that have a thumbnail. And I need to have accurate counting of the displayed … Read more
I need to display max 5 latest sticky posts that have a thumbnail. And I need to have accurate counting of the displayed … Read more
This link solves the problem but it’s only for the main query. What if you are using a custom query? How can you … Read more
I use the following code to exclude expired posts and it works fine but it doesn’t exclude expired sticky posts. //* Exclude expired … Read more
I’ve been reading this by @nacin and getting to grips with wp_query over query_posts that I used to use. What I want is: … Read more
I’m using my index.php to display post archive pages rather than a specific archive.php file. This works fine, however sticky posts do not … Read more
I would like 7 posts showing on my homepage. I would like to be able to manually choose those posts by stickying them. … Read more
I need to have the ability to have Sticky posts for each category. The simplest way to do this appeared to be to … Read more
I’m using the default Loop Code. I’ve set the ‘Blog pages show at most’ option in Settings > Reading to 11. In my … Read more
I’m using the following bit of code to highlight sticky posts: <?php if (is_sticky()) : ?> <div class=”col-md-12 box-01″> <div class=”content”> <?php endif; … Read more
I need to create a custom WordPress admin interface for a client. I want to completely disable the sticky post feature from admin … Read more