WordPress.org

Forums

  1. Camfolio
    Member
    Posted 1 year ago #

    $args = array(
        'numberposts' => -1,
        'post_type' => 'cpt_genre',
        'suppress_filters' => false,
        'tax_query' => array(
            array(
                'taxonomy' => 'cpt_channel'
            )
        )
    );

    I am trying to return all genres where the current on the current channel.

    I have tried passing the post id of the channel as the term using your example of loop integrations. If I use the taxonomy setup it will return no results.

    https://wordpress.org/plugins/cpt-onomies/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.