WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
[resolved] Blank page (8 posts)

  1. ridewithjoe
    Member
    Posted 1 year ago #

    I loaded the plugin on my page at http://ridewithjoe.com/wheresjoenow

    Latest WP and latest plugin. I get a blank area where the map should be on the page when adding the shortcode. I've tried my code and the sample code with the same result. Not sure where to look for the issue. I've tried chrome and safari as well.

    http://wordpress.org/extend/plugins/wp-flexible-map/

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day, at a guess I'd say that your theme doesn't call wp_footer(), because the scripts for running the maps aren't being loaded. Every WordPress theme needs to call wp_footer() around about the bottom of the page (e.g. just before the /body tag).

  3. ridewithjoe
    Member
    Posted 1 year ago #

    You were right, it was missing.

    It's never caused a problem before but I didn't make this theme. Although adding it has not corrected the problem. Any other thoughts?

  4. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    It looks like you're either not passing coordinates/address to the plugin, or you're passing it wrong. Also, you have something like directions='"true"' or similar, which is coming across wrong. Can you please post a copy of your shortcode, from the HTML tab of the page/post editor not the Visual tab?

  5. ridewithjoe
    Member
    Posted 1 year ago #

    Well I'm using the sample code to test with. Unless something is wrong with that, it should work.

    <p>This is a map of my most recently reported location. If I am on the move, refreshing the page will automatically show my updated position.</p>
    <p><span style="font-family: Consolas, Monaco, 'Lucida Console', monospace; line-height: 24px;">[flexiblemap center=&quot;-34.916721,138.828878&quot; width=&quot;100%&quot; height=&quot;400&quot; title=&quot;Adelaide Hills&quot; directions=&quot;true&quot;]</span></p>
    <div>&nbsp;</div>
    <div><span style="font-family: sans-serif; font-weight: bold; line-height: 16.796875px;"><br />
    	</span></div>
  6. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    You've posted it into the Visual editor and somehow you have all the quote characters replaced with HTML entities. In the HTML view, please replace each &quot; with ".

  7. ridewithjoe
    Member
    Posted 1 year ago #

    Hmm... that did it. Somehow the editor did something funky. I'll have to watch that. Not sure what it or I did.

    Thanks!

  8. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    No worries :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.