• Hi,

    I want to add the current taxonomy to an array.

    something like this:

    $args = array(
        'tax_query' => array(
            'relation' => 'AND',
            array(
                'taxonomy' => '$current_taxonomy',

    where current_taxonomy changes when on a specific taxonomy archive page.
    Who can tell me how to do this?

    Thanks in advance

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Current taxonomy’ is closed to new replies.