• I am trying to create a custom query (query_posts) from a custom post type as follows

    query_posts('post_type=articles&posts_per_page=1' );

    I have enabled support for custom post types on this by adding the slug to line 47 of UamAccessHandler.class.php and it works ok for the main query. The problem is with this query, if the first post is protected it will just not turn up anything for this, whereas i wish it to return the first allowable post (according to the user privileges).

    Am I missing something obvious?

    http://wordpress.org/extend/plugins/user-access-manager/

  • The topic ‘Custom post type custom query’ is closed to new replies.