Stick to the top of the blog
-
Hi guys – I have a client using an old theme, specifically:
https://github.com/hyprtxt/bootstrapfour
https://blog.getbootstrap.com/2015/08/19/bootstrap-4-alpha/The option in the individual blog post to Stick to the top of the blog is not working.
So my question is ‘how does this work from a code perspective’ ?
What functions should I be looking at to see where this is broken.
Unfortunately, I don’t know if this checkbox ever worked or if this is something new.When I look at the query being rendered on the blog index page, there is nothing in the query to identify what may or may not be stick:
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID IN (283,4259,285,3914,3915,3916,3917,35,287) AND wp_posts.post_type = 'page' AND ((wp_posts.post_status = 'publish')) ORDER BY wp_posts.post_date DESCIt just list the posts by ‘menu order’.
Can anyone tell me how the sticky part is supposed to work, and where I might find the WordPress code that control this??
Thanks!
The topic ‘Stick to the top of the blog’ is closed to new replies.