As pointed out by @t31os in the comments, get_query_var('page')
should actually be get_query_var('paged')
.
Related Posts:
- Exclude sticky post from main query?
- Show Sticky Posts in Category Archive
- Set sticky posts schedule (Automatic)
- Add a single featured post to all pages?
- Display only the most recent sticky post, display other posts in chronological order
- Include sticky posts in ‘Blog pages show at most’ X number of posts?
- Exclude expired sticky posts
- ignore_sticky_posts in WordPress 3.0.3?
- Exclude Current and Sticky Post
- Front page should display only one category of posts including sticky post with custom featured post box
- Make sticky post on save
- Pin a post to the top of a page, other than the home page
- Why WordPress CMS uses an array in wp_options instead of a field for Sticky posts?
- ignore_sticky_posts not working with word press version 3.9.1
- How to modify query on category pages to show only sticky posts?
- Make posts non-sticky
- How to check a post is sticky or not yet?
- Custom query: how to get the sticky posts first?
- I would like to change the sticky posts label “Featured” to something else
- How to display sticky post with custom html
- Update a post to remove sticky option
- Show image if a post is featured
- I do not want my front page sticky post to show up in a category
- How to display a sticky post inside a div?
- WooThemes Mini Features – modify query_posts to display only sticky_posts
- Exclude Sticky Posts as everyone!
- Don’t move sticky posts to the first page
- Latest Sticky Posts with Grid Thumbnails for static front page
- Remove old sticky post on publish
- Limit Number of Sticky Posts to Show
- get_option(‘sticky_posts’) returns stickies that are in trash
- Display latest sticky post or display nothing
- Create thumbs only when a post is sticky or any other way?
- How can I display only sticky posts from a parent category on the homepage?
- Images for sticky posts
- WP_Query: Why is sticky post not first item in loop?
- How can I make wp-pagenavi work on a custom query built upon a form submission? [closed]
- Ensuring sticky posts are retrieved first (without using two queries)?
- Highlight a Featured Post?
- How to make my front page display only the most recent sticky post, plus usual widgets?
- Limiting query_posts to 1, regardless of sticky post?
- How do I show sticky posts on a static front page that also contains content?
- How to retrieve sticky post in raw sql?
- wp_query for the first sticky, then display the rest of the posts excluding the first sticky
- Schedule Sticky Posts
- Sticky Posts Not Sticking to Top of Category Archive
- how to make custom posts sticky? [duplicate]
- WP-PageNavi not working on Custom page Template
- Include Sticky Posts in Page Post Count for custom query
- Query sticky posts with thumbnails
- Page navigation doesn’t show when query category
- WP_Query doesn’t get sticky post at the top, when used in a page template
- Store sticky post’s ids in a transient
- WP-PageNavi is showing the first page only
- Show Sticky Post at the top but do not show again in the loop?
- 3 Posts in Loop, Show Stickies First
- Move sticky posts down in main loop
- Sticky post appears twice
- How can I make a custom post type sticky?
- sticky post in custom loop
- How to stick custom post at the top in search results
- Woocommerce – Want to move the product tabs below short description
- WP Query to have sticky posts first, with pagination and having a joint ‘posts per page’ arg with main loop
- How to display only feautured/sticky listings on the homepage
- Showing sticky posts with get_posts()
- Sticky post for each category on category pages [duplicate]
- How can I allow sticky posts but cap the query to 1 post?
- Wp-pagenavi giving page not found on clicking page 2
- Exclude current sticky post
- Why: sticky front page code, shows latest non-sticky on logged-in front page
- wp-pagenavi only showing first page
- How to display sticky or latest published post on the current category page it belongs to?
- How to remove only the latest sticky post from the loop
- get_previous_post() while accounting for sticky posts
- Ussing page_navi with WP_Query
- Knowing if a post is sticky in the ‘save_post’ action. Where do I have to hook?
- How can i show pagenavi in my author.php?
- Filtering all posts AND sticky posts through meta_query
- marking a post that was sticky on category template
- pagination links not displaying
- Custom loop off by one post
- Pagenavi Plugin and Custom Post Type – Multipage results
- Page navi for template page
- WordPress PageNavi Plugin not working in category.php
- How do you get sticky posts to work with categories?
- Pin posts to top of custom loop
- How can I have sticky posts while ALSO showing posts from a specific category using one WP_Query?
- How to pull sticky post permalink inside php?
- How to display sticky post always at the top (before regular post) in wordpress?
- Function for Sticky Post on Categories causes issues with 404 behavior
- Staggering featured post using ‘sticky’
- Add to search posts query array with post IDS which will appear first
- counting post from a wp-query using sticky_post
- Menu Details Output in Javascript [closed]
- How to Order Sticky Posts? [duplicate]
- Add something after all sticky posts in The Loop
- Wp Pagenavi how to display all results
- Different style for first two (sticky) posts
- Limit the number of posts via wpquery
- I make sticky post for my archive page for custom post type with ACF field and loop is not working