WordPress.org

Ready to get started?Download WordPress

Forums

Sortable Sticky Posts
Sticky won't get in order (4 posts)

  1. DaveofDC
    Member
    Posted 11 months ago #

    I installed the new Sortable Sticky Post. It worked fine when I had about five sticky when I arranged in order. Few days later I had a new sticky and it's stuck on top of the 5 other sticky. It should be down to 4th place in order.

    Don't know why this is happening.

    http://wordpress.org/extend/plugins/sortable-sticky-posts/

  2. DaveofDC
    Member
    Posted 11 months ago #

    I saw your instruction in FAQ, I revised the plugin and I got an error message. Looking forward to hearing from you.

  3. DaveofDC
    Member
    Posted 10 months ago #

    I'm bumping this again. I'm still waiting for answer.

    According to your FAQ, I replace the line:

    $sticky_query = new WP_Query( array( 'post_per_page' => count( $stickies ), 'orderby' => 'post__in', 'post__in' => $stickies ) );

    with:

    $sticky_loop = new WP_Query( array( 'post__in' => get_option('sticky_posts'), 'orderby' ==> 'post__in' ) );

    I got this error message:

    Parse error: syntax error, unexpected '>' in /home/(mydomain)/public_html/wp/wp-content/plugins/sortable-sticky-posts/wp-sortable-stickies.php on line 133

    Did I replaced the wrong line?

    Hope to hear from you soon.

  4. DaveofDC
    Member
    Posted 10 months ago #

    Just a quick follow up. I looked at my sticky posts. I noticed it's posted based on the date of the published. One of the post I published was last Feburary regarding an event later this summer. This post is on the bottom of the list, yet, the event is in two weeks. And I have other events that I published and the events are not till next months -- i'm trying to move next month posts after the oldest published.

    In setting|reading, I have everything set in order and saved it. It didn't worked.

    While I'm no programmer, I think this had a lot to do with this command:

    (Pub: ' . get_the_date() . ')

    Dave

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.