How to use $typepost inside the loop

$typepost = ‘[‘ echo get_post_meta($post->ID, ‘custompostlist001’, true);]”
$loop = new WP_Query( array( ‘post_type’ => “[ $typpost ]”

Read more here:: How to use $typepost inside the loop

Leave a Reply

Your email address will not be published. Required fields are marked *