Home › Forums › MapPress Support › New Map Header
Tagged: template
- This topic has 6 replies, 3 voices, and was last updated 6 years, 4 months ago by
sandrafriend.
-
AuthorPosts
-
March 10, 2018 at 10:40 am #17713
Hi there, I just updated to 2.48.2 Pro and noticed a new Map Header when creating a Mashup Query. I preferred to not have the new header so I uploaded an empty map-header.php file to my theme.
Is this the best way to eliminate the header or is there something in the shortcode that can be added? I suppose I could also use CSS to hide the new header as well.
Thanks!
March 10, 2018 at 10:44 am #17714Hi,
The header is present because I’m planning to make all mashups searchable. It will soon contain a search box.
I was assuming search is generally useful, but is this something you would want to prevent for your mashups?
For now – as a workaround, an empty header or CSS should both work.
March 11, 2018 at 9:17 am #17715Thanks for the info Chris.
For myself, I can’t see using a search option in a mashup unless there would be a very large number of locations. My preference would be to have this option enabled via shortcode…possibly like:
[mashup query="posts_per_page=-1&post_type=post" mapSearch="true"]Either way, I think it will be a nice feature for some scenarios.
Thanks again!
March 11, 2018 at 9:19 am #17719OK, I’ll look into making this conditional. Hopefully others will provide some feedback as well about whether the header is useful or not.
March 29, 2020 at 10:03 am #18499Hi Chris. I notice that when I insert a mashup farther down on the page than above the fold, the fact that the cursor wants to rest in the search box forces the page down, that is, a person going to that web page won’t ever see the header of the web page.
Here’s an example of that happening on a desktop browser (Firefox, in my case)
at this URLIs there a way to disable the search box on selected mashups?
Thanks.
March 29, 2020 at 10:15 am #18500Hi,
You can’t disable search on a single map, but it is possible to enable/disable it for all mashups on the MapPress settings screen.
I agree – the scrolling is annoying when the map isn’t at the top of the screen. I just updated the plugin to version 2.53.8, which should only focus the search box when the map is being edited.
March 30, 2020 at 4:40 am #18501Thank you for addressing that issue with the new version, Chris.
-
AuthorPosts
- You must be logged in to reply to this topic.
