Support » Plugin: Posts 2 Posts » Wrong post type result

  • mcolas


    Hi !

    I need to list (CPT) Artists who recently have a post linked to them.

    The problem is ‘post_type’ => ‘artiste’, is not working it results ‘posts’.

    This is my loop :

    ‘no_found_rows’ => true,
    ‘cache_results’ => false,
    ‘update_post_meta_cache’ => false,
    ‘post_status’ => ‘publish’,
    ‘connected_type’ => ‘post_to_artiste’,
    ‘connected_direction’ => ‘to’,
    ‘post_type’ => ‘artiste’,
    ‘orderby’ => ‘date’,
    ‘posts_per_page’ => 6,

    What is wrong with my loop ?

    Thxs a lot for your help.

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.