Mashup to call up by tag name? Home › Forums › MapPress Support › Mashup to call up by tag name? Tagged: mashup, tag This topic has 6 replies, 2 voices, and was last updated 11 years, 2 months ago by Marcin416. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts September 6, 2012 at 6:59 am #10360 Marcin416Participant I have a post type called project and to these posts I have associated tags. What is the shortcode script to have mashup call up a tag? September 6, 2012 at 10:22 am #10363 ChrisKeymaster Hi, please see the documentation for some examples, or let me know if that doesn’t help: http://mappresspro.com/mappress-documentation September 6, 2012 at 10:26 am #10364 Marcin416Participant I did. I’m lost on the whole thing, I’ve spent out on this. Right now my script is. [mashup width="100%" show="query" show_query="post_type=project"] My project posts have several different project tags, how do I make the make recall the project post type and within it a specific tag? September 6, 2012 at 10:41 am #10366 ChrisKeymaster Hi, The syntax can be tricky. It comes from the WordPress query_posts() function. The WordPress codex has some more examples at that link. I think for what you want to do, assuming the tag you want is ‘mytag’ you would write: [mashup width="100%" show="query" show_query="post_type=project&tag=mytag"] September 6, 2012 at 10:50 am #10367 Marcin416Participant I’ve tried many using http://codex.wordpress.org/Class_Reference/WP_Query#Parameters and http://mappresspro.com/mappress-documentation Such as those below. [mashup width="100%" show="query" show_query="post_type=project&tag_id=22"] [mashup width="100%" show="query" show_query="post_type=project&tag=cedar-shakes-and-shingles"] So far only the basic post type recall works. [mashup width="100%" show="query" show_query="post_type=project"] If anyone has experienced this and arrived at a solution please let me know. I’m quite new to this and WordPress. September 6, 2012 at 11:00 am #10368 ChrisKeymaster That’s strange, is your custom post type actually using tags, or is it using categoriess or a custom taxonomy? If you’d like send a login using the contact form and I’ll take a look for you (please tell me which post to check for the mashup). September 7, 2012 at 12:53 am #10370 Marcin416Participant Chris, Thanks for the immediate response and resolving my issues! Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In