Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1411055

    The plugin Post Types Order has always worked with enfold. But it does not obey anymore. Is this a know problem?

    #1411097

    Hey limedrop,

    No, it’s not a known problem. Did you try it out on a clean installation using the latest version of both theme and plugin? Please note that our support for unsupported third party plugins is limited.

    Best regards,
    Rikard

    #1413047

    Hi, we’re seeing the same behaviour. I have tried Post Types Order and Intuitive Custom Post Order but neither make a difference when using Post Slider or Blog Posts elements.

    I’m not in a position to try this with a clean install but plugins and theme are all up-to-date.

    I tried using the code snippet from here replacing ’tilte’ with ‘menu_order’ (the column Intuitive Custom Post Order uses for ordering) but still no difference.

    add_filter('avia_blog_post_query', 'avia_modify_post_grid_query_desc');
    
    function avia_modify_post_grid_query_desc( $query ) {
    $query['orderby'] = 'title';
    $query['order'] = 'DESC';
    return $query;
    }

    Should the ordering plugins be working? Any ideas why they might not be?

    Thanks

    #1414041

    Hi,
    If you want to sort the Blog Post element by menu_order try this function:

    add_filter('avia_post_slide_query', 'avia_modify_post_grid_query_desc');
    function avia_modify_post_grid_query_desc( $query ) {
    $query['orderby'] = 'menu_order';
    $query['order'] = 'DESC';
    return $query;
    }

    Note that the ‘menu_order’ would need a distinct value as it is zero by default

    Best regards,
    Mike

    #1414100

    Thanks Mike but that’s literally exactly what I said I already tried and isn’t working.

    Any other ideas?

    #1414112

    Hi,
    Please look again, your code is add_filter(‘avia_blog_post_query’, and my code is add_filter(‘avia_post_slide_query’, I tested mine before I posted it.

    Best regards,
    Mike

    #1416412

    Sorry for not spotting the difference and for the slow reply. Your code works and now I can successfully use the Post Types Order plugin to order posts.

    Thanks

    #1416416

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Post Types Order not working anymore’ is closed to new replies.