Forum Replies Created
I actually tried the markup above earlier (and retested to double-check), and it just returns a world map w/o markers. Fortunately, I took another look through the theme’s framework files, and came up with a working solution! Basically the portfolio is defined in an array as type => port and taxonomy => portcat, so by using the custom taxonomy parameter, I can now filter the custom post categories like so:
[mashup query="portcat=johnstown" maptypeid="roadmap"]
Thanks for working through this one, Chris. Hopefully someone else will benefit from my discovery 🙂billboardsavantParticipant
Thank you, Chris. I enabled the roadmap type in general settings, and the problem was resolved.
On a separate but related note, I’m now trying to create separate mashups by categories of portfolio items, but am unable to filter the query (all markers are showing instead of specific categories). For example, portfolio category #39 contains 4 posts and category #40 contains only 1, but all five markers are included in the mashup regardless of the shortcode used…
[mashup query="post_type=port&category_in=39" maptypeid="roadmap"]
[mashup query="post_type=port&category_in=40" maptypeid="roadmap"]
[mashup query="category_in=39" maptypeid="roadmap"]
[mashup query="category_in=40" maptypeid="roadmap"]
Is there a limitation on querying categories of custom post types?