Home Forums WoodMart support forum Load More Posts button malfunctioning Reply To: Load More Posts button malfunctioning

#571987

Hung Pham
Keymaster

Hi josh-6874,

This code actually works. In our theme, in order to display posts, we use the default functionality from WordPress https://developer.wordpress.org/reference/classes/wp_query/.

And as you can see from the documentation, sticky posts are not counted in the number of posts to be displayed on the page. So the provided custom code to make them behave like regular posts. Unfortunately, at this time it is not possible for the number of sticky posts to be counted in the number of output posts.

Hope it clears.

Regards,