WordPress.org

Forums

ML Post Slider
[resolved] Slider Order (3 posts)

  1. cpuweb
    Member
    Posted 1 year ago #

    Hi and thanks for a great plugin.

    One problem I´m facing is that I´m not able to find any way to change the order of how the slides is showing.

    Is this possible without any code change?

    http://wordpress.org/plugins/ml-post-slider/

  2. dwawobieg
    Member
    Plugin Author

    Posted 1 year ago #

    No, now it is impossible. If You want change order of post segregation You have to do some changes in code.
    Plugin use "get_posts" function (http://codex.wordpress.org/Template_Tags/get_posts)

    $args=array('post_type' => 'ml_post_slider', 'post_status' => 'publish', 'ml_post_slider_categories' => $instance['ml_category'], 'order' => 'ASC', 'numberposts'     => 100);
    $posts_array = get_posts( $args );

    If You want change something please try in 181 line with 'orderby' parameter.

    In near future plans to release ML Post Slider ver 2.0. It will be much better than 1.3 version;)

  3. cpuweb
    Member
    Posted 1 year ago #

    Ok thanks for reply.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ML Post Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic