I have a site using a Woocommerce shop page, and I want to pass these variables into the TPG_GET_POSTS code...
So far I have this in my code and it works well:
echo do_shortcode('[tpg_get_posts tag="XYZ" category_name="news" show_meta="false" show_entire="true" show_byline="false" ]');
but I want to pass in a variable into the tag field... any thoughts how i would do this?
Cheers