How to include custom post types and custom taxonomies with WP_Query

by MoE   Last Updated June 17, 2019 21:08 PM

Hi guys there any way to include or join custom post types and custom taxonomies with WP_Query below?

static function &get_wp_query ($atts = '', $paged = '') { 
    $args = self::shortcode_to_args($atts, $paged);

    $td_query = new WP_Query($args);
    return $td_query;
}


Related Questions



Show custom taxonomies of post type, table based

Updated December 14, 2017 23:08 PM


tax_query showing no results

Updated August 21, 2017 11:08 AM