Support » Plugin: Simple Custom Post Type Archives » [Plugin: Simple Custom Post Type Archives] Sort Post by Title in custom post type Archive ?

  • Hi,

    I’ve used this plugin to create an archive page, worked great ! but I’m trying to sort the posts (hotel post type) by title.

    I’ve tried

    $posts = query_posts($query_string .
    '&orderby=title&order=asc');

    but it shows me all the posts instead my post_type=hotel

    Any idea ?

  • The topic ‘[Plugin: Simple Custom Post Type Archives] Sort Post by Title in custom post type Archive ?’ is closed to new replies.