• I have read through some of the posts, and find the same issue I am having. Your plugin is displaying in my custom type “our team” however the menu sort is not having any effect on the display page. I tried adding the code a previous user suggested but am not sure where it should go. I tried the page template but it didn’t work.

    Could really use some help in getting this to work.
    Thank you

    https://www.ads-software.com/extend/plugins/metronet-reorder-posts/

Viewing 4 replies - 1 through 4 (of 4 total)
  • It works, and I love this plugin !!!

    global $wp_query;
    $args = array(
    ‘category_name’ => ‘dvd’,
    ‘orderby’ => ‘menu_order’,
    ‘order’ => ‘ASC’,
    ‘post_type’ => ‘products’
    );
    query_posts( $args );

    Thread Starter pstevens17

    (@pstevens17)

    Where does this bit of code go?

    It really depends how your using wordpress.

    I’m using a custom built template for each page on the website. On any given template page, I’m using this code to print out some posts. If you read the code, it’s saying:

    ??grab all the post types that are ‘products’
    ??in the ‘dvd’ category
    ??and sort them according to the ‘menu_order’ settings.

    Thread Starter pstevens17

    (@pstevens17)

    I am using a prebuilt template with several plug ins. The specific one I am trying to reorder is ‘Our Team’. The plugin does everything I want except let me order the posts. I thought this would fix that (after trying a few others, it almost does). I am using the Full Page Template for this page and tried putting the code from this post https://www.ads-software.com/support/topic/plugin-metronet-reorder-posts-new-reorder-page-in-admin-but-no-reorder-on-live-site?replies=9

    $wp_query->set(‘orderby’, ‘menu_order’);
    $wp_query->set(‘order’, ‘DESC’);
    $wp_query->get_posts();

    and your code. I put them within <php tags but neither changed the order.

    I also tried adding the code in the header.php, page.php and in the plugin editor.

    I am at a loss and greatly appreciate any help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sort not working’ is closed to new replies.