Basicly I want to show the post in sequence of what the tags entered are.

For instance this is my Query:

$args = array(
    'post_type'              => array( 'providers' ),
    'post_status'            => array( 'publish' ),
    'tag' => array( 'speed', 'price', 'contract', 'network' ),
$the_query = new WP_Query( $args );

I would like to show the post with the tag 'speed' first and 'network' last. I could not find a matching 'orderby' in the wordpress codex. I'm wondering if someone here knows how to do this.

Thank you!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.