WordPress.org

Ready to get started?Download WordPress

Forums

Sticky Custom Post Types
All custom posts are displayed (1 post)

  1. open flips
    Member
    Posted 1 year ago #

    Hi,

    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.

    Thanks

    http://wordpress.org/extend/plugins/sticky-custom-post-types/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.