Forum Replies Created
-
AuthorPosts
-
I think the problem is that the image size isn’t know when the popup opens. It’s only determined after the image downloads.
Although the images were inserted with a defined height, the theme’s CSS is setting it to ‘auto’:
img { height: auto }
You could either remove the line above, or in your style.css, you could override it by adding something like this:
.mapp-body img { height: 100px !important; }
Hi, please provide the map URL so I can see the problem.
I looked at the site and I think the problem is the quotes in the shortcode. It contained angled quotes, which are normally used by visual editors. WordPress ignores this type of quote when processing shortcode arguments.
What you need are straight quotes, which is what are input using the normal WordPress editor (you can check by using the ‘text’ tab instead of ‘visual’):
I created a private post here that shows the different quote types:
https://www.gaytorremolinos4u.com/wp-admin/post.php?post=928&action=editAnd also corrected the original mashup.
I hope that helps!
I don’t know about the other plugin. What happens if you set up a standard post category and assign a few posts to it. Does the query work then?
If not, please use the contact form to send a login and I’ll try to trace the issue for you. It’s working on my test blogs so I’ll need to see it on yours (preferably a test system, if you have one).
Hi,
Your MapPress is a little out of a date, so as a first step please upgrade to the latest version.
Lat/lng entry should work in both Leaflet (Algolia) and Google. But what you describe sounds more general, i.e. Google won’t parse ‘Florida’.
That is most likely a Google API key issue. You can press F12 to check the JavaScript console (in most browsers). That’s where Google will print any errors.
If your API key is invalid, or the key doesn’t have the correct libraries activates, please see the MapPress FAQ. There’s a link there that will create a key for you with the correct libraries enabled, as well as some troubleshooting information.
If the above doesn’t help, please use the contact form to send the URL of the page you’re editing, and a login to the blog (so I can see the map editor in the back end).
I just tested this and the query seems to work for me. But I think I see the problem: the various WordPress query selectors work either on names (slugs) or IDs. If the wrong type of argument is provided, WordPress will ignore that part of the query and show all results.
In the example above, ‘category__in’ uses IDs, so it would need to be something like ‘category__in=1,5,7’. For names, use ‘category_name’ instead, e.g. ‘category_name=red,blue,green’.
There are some examples of the various selectors in the docs, or the WordPress codex page.
Be careful to also match the underscores – some selectors use two and some use one.
I haven’t had a chance to look at this over the weekend, but I haven’t forgotten about you. I’ll test it on my own system and let you know if I can replicate the problem.
That’s good to know, so we can ignore the CSV import.
This is probably specific to your site, so please send a login and I’ll have a look.
Hi, that query only finds posts with both categories. I think you want posts in either category, which would be:
“category__in=bar,hotel”
There are some additional examples in the documentation:
http://mappresspro.com/mappress-documentationHi,
Hard for me to guess. I assume you’re using custom field(s) to store the address? If so, what happens if you manually enter an address and then publish the post?
You might also try switching to a standard theme & deactivating your other plugins, as described in the FAQ, to see if there’s a conflict.
There’s no way to pass ‘OR’ queries like this through the shortcode.
However, you could assign all the relevant posts to categories rather than using post type (e.g., category ‘bars’ and ‘hotels’), then query by all the necessary categories (you can separate categories by commas).
Or, group them under a specific separate taxonomy just for the purpose of combining them, such as a ‘map1’ tag.
There are some example queries here:
http://mappresspro.com/mappress-documentationI don’t think this has any impact on Google usage. I believe their quota is based on the number of maps displayed, not the number of markers/pins.
Hi,
I have an update that may work for the search in the hidden tab.
If you’d like to give it a try, please send a login (preferably to your test system) using the contact form, and I’ll install the new version for you so we can test it.
Hi,
I do see the problem. I think it may be related to the theme. Some themes lack a wp_footer() call, and this prevents the map templates from loading:
https://codex.wordpress.org/Function_Reference/wp_footer
You can test if this is the problem by switching (for a moment) to the standard twenty-seventeen theme. If you now see the list, you can update your theme with the missing wp_footer() call.
If you don’t see the list, try also deactivating ALL other plugins – sometimes other plugins can cause a conflict with MapPress.
Hi,
I’m not sure I understand. If you’re seeing a blank box where the map should be on the front-end, please have a look at the FAQ (which covers 99.9% of the common problems) – or send a URL where I can see the problem myself.
If it’s something on the back-end administration screens, please send a login using the contact form so I can log into the blog and see the problem.
-
AuthorPosts
