• Hello,

    Sorry for my english.

    I have install the sticky post plugin in my site.
    I have created the post_type as xxxx and also I have add post as sticky
    but the Post is not showing in front end sticky post widget.

    SELECT tt.term_taxonomy_id, tr.term_taxonomy_id, p.*, COUNT(tr.object_id) AS COUNT FROM wp_term_taxonomy AS tt, wp_term_relationships AS tr, wp_posts AS p WHERE
    tt.term_taxonomy_id = tr.term_taxonomy_id AND tr.object_id = p.ID AND p.post_status = ‘publish’ AND
    p.post_date_gmt < NOW() AND p.ID IN (46146,39187,46153,46144,46162,46165,46168) GROUP BY tr.object_id
    ORDER BY COUNT DESC, p.post_date_gmt DESC LIMIT 0,5

    this is query but result not showing.

    please resolve my issue.

    regards,

    uday

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

Viewing 1 replies (of 1 total)
  • Plugin Author zourbuth

    (@zourbuth)

    Does the p.ID IN (46146,39187,46153,46144,46162,46165,46168) is the posts for your xxxx post type?

Viewing 1 replies (of 1 total)
  • The topic ‘Sticky post not showing’ is closed to new replies.