I need to maintain pagination for use with infinite scroll. Is there no way to tell query_posts to retrieve sticky posts first? It ...
-
May 5, 2022
- 0 Comments
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, ...
-
May 5, 2022
- 0 Comments
Trying to get a custom admin link working for a custom post type. I’ve managed to add a link to show all “sticky” ...
-
May 5, 2022
- 0 Comments
EDIT: It is currently working when I set a sticky post and set it’s date at 07/07/2016. My code so far: I’ve added ...
-
May 4, 2022
- 0 Comments
I’d like to be able to show sticky posts at the top of category pages. I’m using archive.php for my category page. I’m ...
-
May 4, 2022
- 0 Comments
I am having alot of trouble with this. I was using <?php query_posts( array( 'post__not_in' => get_option( 'sticky_posts' ), 'paged' => get_query_var( 'paged' ...
-
May 2, 2022
- 0 Comments
I’ve got a custom WP_Query loop based of meta_value variables: $meta_cat = get_sub_field('category'); $posts = new WP_Query( array( 'cat' => $meta_cat, 'posts_per_page' => ...
-
April 30, 2022
- 0 Comments
How is it possible to upgrade a post to make it sticky directly from code, not by admin area? Is it possible through ...
-
April 29, 2022
- 0 Comments