- This topic has 1 reply, 2 voices, and was last updated 8 years, 6 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I have created category pages, each with a few different sections and I wanted each section to end with a view all for each specific category.
For example the category would be kids activities - Underneath would have four related articles - The last article to say view all for this category.
However when I try to do this 1 - the post which is sticky is staying the the first position and I woudl want it as the last. The post are sorted by date however the sticky post is still showing first even though its not most recent.
The only category we have done so far is the one with the heading Christmas fun for Kids:
Any help and advice would be really appreciated 😀http://christmastree1.underthechristmastree.co.uk/kids-page/
Sticky posts are meant to show first. I'm not sure how you've created this page, but if you're doing a custom query, you can find the answer in the documentation here: https://codex.wordpress.org/Class_Reference/WP_Query#Post_.26_Page_Parameters
$query = new WP_Query( array( 'post__not_in' => get_option( 'sticky_posts' ) ) );
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
© 2023 WPEngine, Inc.