Pass variable into a filter criteria
-
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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Pass variable into a filter criteria’ is closed to new replies.