jshands
Forum Replies Created
-
Forum: Plugins
In reply to: [Map My Posts] Showing category map in my category descriptionI sort of got it working by adding the following to my category code:
<?php echo do_shortcode( “[mmp-geochart mode=\”marker\” parent=” . get_category(get_query_var(‘cat’))->slug . ” ]”) ?>The problem is, the map only really works if there are child items with mapable elements… that is, I can have something categorized with Seattle, and then the categories of USA and Washington above it both work fine, but as soon as you click the Seattle category the map is the oddly shaped polygon. Similarly, if I have the France category associated with France, but none of the items below it have any more “refined” category (that is, if they’re not tagged with anything at a lower level than just France) I still get the polygon… even though it seems to me that it should just show the dot in the center of the country, like it does on the more “zoomed out” maps…
I’m guessing the problem is that it sets the current category as the parent element, and it’s doing so in a “children but not including parent” manner…
Forum: Plugins
In reply to: [Map My Posts] Manualy choose Region/ZoomIt looks to me like there isn’t any way to do this currently… in the plugin there appears to be code which “automatically” sets the zoom level if there are over 300 elements to show, but the zoom variable isn’t a parameter you can pass in via shortcode, unortunately.
Forum: Plugins
In reply to: [Map My Posts] Showing category map in my category descriptionI am also after this functionality… it’s *almost* there… but not quite. You can add a widget which has the ability to only show items from within a certain taxonomy parent… the problem of course is that to do this , you need to create a separate widget for each category… it would be great if there was an option to automatically detect the category page and dynamically choose which parent to restrict the map to based on that.
Forum: Plugins
In reply to: [Map My Posts] US Geochart with State Border Found. HELP!Wish I could help! This sounds like a great addition!
Forum: Plugins
In reply to: [Map My Posts] Using taxonomyYes, this would be a great feature. There is another plugin called “Travel Routes” which creates a new Location hierarchy which might be a good reference. One thing I wish they also did with their hierarchy would be to allow URL mapping to the new taxonomy… but that shouldn’t be too difficult to add if you’re building it into your plugin as well.