New Map Header

Home Forums MapPress Support New Map Header

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17713
    semrocc
    Participant

      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!

      #17714
      Chris
      Keymaster

        Hi,

        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.

        #17715
        semrocc
        Participant

          Thanks 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!

          #17719
          Chris
          Keymaster

            OK, I’ll look into making this conditional. Hopefully others will provide some feedback as well about whether the header is useful or not.

            #18499
            sandrafriend
            Participant

              Hi 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 URL

              Is there a way to disable the search box on selected mashups?

              Thanks.

              #18500
              Chris
              Keymaster

                Hi,

                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.

                #18501
                sandrafriend
                Participant

                  Thank you for addressing that issue with the new version, Chris.

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.