Shortcode for a CPT and query
-
Hello,
I love your plugin!
Right now I have a CPT which I am showing with:
[wp-tiles posts_per_page=5 post_type=”gd_hotel”]
I would like to query the results so it only shows hotels in, say, Tokyo?
The CPT database has a post_region field. (So I want, post_region=”Tokyo”)
How would I do that in the above shortcode?
Site: http://wp.me/P5FwQx-qY
The topic ‘Shortcode for a CPT and query’ is closed to new replies.