'et_pb_layout', 'tax_query' => array( 'taxonomy' => 'layout_type', 'field' => 'slug', 'terms' => 'layout' ), 'post_status' => 'publish', 'posts_per_page' => -1, 'order' => 'ASC', 'orderby' => 'title', ); $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); // manually filter out blacklisted layouts? $layout_title = get_the_title(); $layout_id = get_the_id(); // filter out any with 'layout_type' not equal to 'layout' if ( has_term( 'layout', 'layout_type', $layout_id ) ) { continue; } $librarylayoutReturnValue .= '