AnonymousJanuary 10, 2012 at 1:28 pm #22134
before the closing
AnonymousJanuary 10, 2012 at 4:13 pm #22136
What I meant was to add the script in
footer.phpbefore the closing
Yes, I think you can paste the code along with Google Analytics code in Graphene Options.
AnonymousJanuary 10, 2012 at 7:31 pm #22138
Are you using Google Maps to generate the code? If so, they should give you an iframe or embed code. You can switch to HTML while editing a post/page and insert the code where you would like to display the map.
Or, you can use my plugin, and it will add a button for inserting iframes and embed codes for you, if you don’t like HTML. All you’ll have to do is paste the code Google gives you.
I’m not using the iframe or the embed code to make the google map. I need to have a map made from an external file and have a side bar with the map. Like the one that is linked above.
Embedding a map from the iframe or embed code works nice and easy. But getting that sidebar to work with the map seems to be very difficult. It seems that in order to have a sidebar with the map that pulls the info from the map, the map has to be made with the Maps API. Which is fine for a html website. But for some reason every time i try (many different ways) to put that code into wordpress the map breaks in many different ways.Mod
and other code that goes in the <head>
Attach it to the
wp_head()action hook. See this: http://codex.wordpress.org/Function_Reference/wp_headAdminQuote:But for some reason every time i try (many different ways) to put that code into wordpress the map breaks in many different ways.
I may be wrong, but I think WordPress strips out
<iframe>by default, which is why the normal Maps embed code don’t work.
Viewing 10 posts - 1 through 10 (of 14 total)
- You must be logged in to reply to this topic.