Question: I'm trying to do a single WP\_Query to get the posts that are in 2 different custom post types but the second post type has to be from a specific taxonomy.

This is what I'm currently doing:

```
    $query1 = new WP_Query(array(
    'numberposts'       => $postsnumber,
    'posts_per_page'   => $postsnumber,
    'orderby'          => 'publish_date',
    'order'            => 'DESC',
    'post_type'        => 'post',
    'post_status'      => 'publish',
    'suppress_filters' => false
));
$query2 = new WP_Query(array(
    'numberposts'       => $postsnumber,
    'posts_per_page'   => $postsnumber,
    'orderby'          => 'publish_date',
    'order'            => 'DESC',
    'post_type'        => 'js_videos',
    'tax_query' => array(
        array (
            'taxonomy' => 'video_category',
            'field' => 'tag_ID',
            'terms' => '41',
        )
    ),
    'post_status'      => 'publish',
    'suppress_filters' => false
));

$wp_query = null;
$wp_query = new WP_Query();
$wp_query->posts = array_merge( $query1->posts, $query2->posts );

```

However I need to still order by publish\_date after mergining.

Answer: 
I found the answer to my own question.

```
add_filter( 'term_description', 'shortcode_unautop' );
add_filter( 'term_description', 'do_shortcode' );
remove_filter( 'pre_term_description', 'wp_filter_kses' );

```

I just added those line of codes into the Child theme's function.php.

Thanks to this post: [How to get a shortcode working in category description](https://wordpress.stackexchange.com/questions/232411/how-get-a-shortcode-working-in-category-description/232418#232418)
I am not sure what kind of code is using in your theme. I am sharing the code for idea.

```
$cat_desc = category_description();

echo do_shortcode( $cat_desc );

```

[category\_description()](https://developer.wordpress.org/reference/functions/category_description/) function is getting the a category description. do\_shortcode() function is searching the content for shortcodes and filter shortcodes through their hooks.