Forum Replies Created
-
AuthorPosts
-
Sorry. I mean to have it display terrain by default. I see the checkbox option, but how can I set it to be checked by default? I seem to recall that option being somewhere in an older version of the plugin.
Sorry. I neglected to click the “notify” box and for sure want to be notified.
Creating a new Custom Post Type post in the same post type as my sites (which is linked above) also seems to work fine. Something seems to be going on only with those sites that already existed prior to the update. FYI, the maps are created normally by using the Geocoding fields section to grab content from a custom field for lat and another for longitude. There is an additional field (or there was) for zoom.
I did just create a new post (regular post) and added a map to it and that seemed to work okay.
By the way, it does not seem to have an issue with correctly centering mashups. I’m using this code to pull those: <?php echo do_shortcode(‘[mashup query="trails=@trails&counties=@counties&seasons=@seasons&posts_per_page=-1" hideempty="true" width="100%" height="350px"]
‘); ?>It also pulls this shortcode okay: [mashup query="post_type=any&posts_per_page=-1" width="100%" height="650"]
Shortcode is just this [mappress]
I tried updating the map and then updating post and that doesn’t seem to do anything. (I’m able to move to the correct location on the map and hit save but on saving it reverts.)
I was using a custom field for the zoom level, but I’ve deleted that from my mappress interface thinking that it might have interfered, but that doesn’t seem to change anything either. And, another post that isn’t yet published doesn’t display correctly either.By the way, I would be happy to pay for some form of premium support if that were available. You really give premium support to everyone, but I’m very, very appreciative.
Sorry to ask before doing a bit more research. Apparently, by creating a shortcode in my functions.php file, I was able to get this to work. Inserted this code: `add_shortcode(‘wpv-post-mashup’, ‘views_mashup’);
function views_mashup($atts) {
global $WP_Views, $mappress;
$atts[‘query’] = $WP_Views->post_query->query_vars;
return $mappress->shortcode_mashup($atts);
}`
into my functions.php file and inserted this shortcode:[wpv-post-mashup width="98%" height="300" adaptive="true"]into my parametric search view and hooray! It works. Haven’t checked everything, but so far so good. Posting in case someone does a search to find a solution.Thanks for the info. I don’t know that much about KML files, but, if someone were to give me a KML file with, say, a hiking trail drawn in it, if I uploaded that KML file, would the trail show up in mappress? If so, that would be awesome!
Okay, you rock! This works. Thanks so much! This is awesome!!!!! Thanks again!
JoeThat works beautifully when visiting a “trails” page. Thank you so much. But, when visiting a “counties” page or a “seasons” page, it displays all the sites again. Anyway to wrangle all these into one mashup possibility?
Thanks. I’ll try to do a little more digging into this. I’m not really a strong coder. I can hack around a bit, but a full grasp is probably out of my league. Even when I uses the above mashup on this page http://birdtrail2015.staging.wpengine.com/trails/appalachian-highlands/ I get all the locations in the system. Just for background: there are 8 trails with a total of 270 locations. The trails range from 2-15 counties each with anywhere from 20 locations to 50 locations. I have one archive.php file that is dynamically pulling all of this together depending on what someone is looking for on the front end. (I’ve used the wp-types Views and Types plugins to do this). Thanks again for your help. You really do have the best mapping plugin that I’ve found–by a long, long shot.
Hi,
That does pull all the posts within the category. Is there some way to get it to only pull the posts that the archive is currently showing? The example above pulls all 270 locations no matter what section you are looking at. For instance, I visit here: http://birdtrail2015.staging.wpengine.com/counties/calhoun/ and I see all 270 sites. But, there are actually only 4 locations in this section. Thanks! But I don’t have pages built for each taxonomy term–it is handle through the archive.php file.Hi Chris,
Thanks for the quick response. What I’m hoping is to not have to specify the name “trail” etc. Instead, have the map load all the content from a taxonomy based on what is populating the archive below. Say, someone hits a specific trail in the archive, it would show all 34 locations along the trail on the map, but display only the first 12 locations on the page, until the user went to page 2, where it would display all the same locations on the map, but only the next 12 locations below. Does that make sense?The issue is this: people visit the page and look at the map only. They don’t bother to scroll down or to go to page 2. And that leaves multiple locations unvisited. Thanks,
JoeHi,
Sorry to be so slow in getting back to you with this. And thanks for your quick response before. I’m not sure what I’m doing wrong here. Perhaps it is a simple as not including the correct nomenclature. I have a custom post type called “sites” and in that I have three hierarchical taxonomies: “trails,” “Counties,” and “Seasons”.
Currently, the map shows up at the top of any archive page for this custom post type and displays the 12 custom post type “sites” associated with that archive. When I go to page 2, it correctly displays the next 12 locations.
What I want it to do is to display all of the sites associated with a specific hierarchical taxonomy (be it trails, counties, seasons or, I guess, one I haven’t come up with yet) in the archive.
Can you help me with this? Sorry for the long-windedness.
Joehttp://birdtrail2015.staging.wpengine.com/trails/appalachian-highlands/
-
AuthorPosts
