Support » Plugin: Sortable Sticky Posts » Sticky won't get in order

Viewing 3 replies - 1 through 3 (of 3 total)
  • I saw your instruction in FAQ, I revised the plugin and I got an error message. Looking forward to hearing from you.

    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.

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sticky won't get in order’ is closed to new replies.