All custom posts are displayed
I have created one custom post type and enabled sticky support for it.
I have checked the box to display on the home page.
I let two posts to be sticky but my front-page keeps showing all posts.
I have added the following code on line 105 to the plugin file.
$query->set( ‘post__in’, get_option( ‘sticky_posts’ ) );
It works but I would like to ask you to fix this problem.
- The topic ‘All custom posts are displayed’ is closed to new replies.