• Resolved RGB Soluzioni Web

    (@rgbsoluzioni)


    Hello.

    We noticed that, by default, is not possible in your plugin do queries with multiple taxonomies.

    You can add this feature in your plugin adding this code in class-page-posts.php at line 118, between the if tax and the if tag.

    		if ( isset( $atts['tax2'] ) ) {
    			if ( isset( $atts['term2'] ) ) {
    				$terms = explode( ',', $atts['term2'] );
    				$this->args['tax_query'][] = array( 'taxonomy' => $atts['tax2'], 'field' => 'slug', 'terms' => ( count( $terms ) > 1 ) ? $terms : $atts['term2'] );
    			}
    		}

    We hope you can include this feature in your plugin, as we actually need to change your code to do that.

    Thank you in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Please add tax2 and term2 in the shortcode atts, here is the code’ is closed to new replies.