I want to insert a Google Map into Wordpress without paying for a plugin. I just want to adjust the style, add a few markers and add a description to the makers. Therefore I simple used the example code from Google Maps and adjusted the style. So far so good.
The question is now, how can I insert my code? It is more or less like this:
If I can't add the code directly do you know any free plugin which would allow me to achieve my mentioned points (custom style, multiple markers, markers description)?
Regards,
x0100
edit: I found a plugin which allowed me to to it for free "Google Maps Easy" (/).
I want to insert a Google Map into Wordpress without paying for a plugin. I just want to adjust the style, add a few markers and add a description to the makers. Therefore I simple used the example code from Google Maps and adjusted the style. So far so good.
The question is now, how can I insert my code? It is more or less like this: https://developers.google/maps/documentation/javascript/examples/map-simple
If I can't add the code directly do you know any free plugin which would allow me to achieve my mentioned points (custom style, multiple markers, markers description)?
Regards,
x0100
edit: I found a plugin which allowed me to to it for free "Google Maps Easy" (https://wordpress/plugins/google-maps-easy/).
Share Improve this question edited May 28, 2019 at 11:13 x0100 asked May 28, 2019 at 8:55 x0100x0100 11 bronze badge1 Answer
Reset to default 0I'm not sure, which wordpress version you are using but all wordpress versions supports custom html embedding on page.
Here's how you can do: (WordPress 5.1.1)
- Go to Pages
- Add/Edit Page
- Click on Plus Icon (step 1 in below screenshot)
- Search for Custom HTML (step 2 in below screenshot)
5. Paste map html in page (sample available below)
Keep in mind, adding custom css and javascript; directly in page is not recommended!
Hope it helps! :)
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745457120a4628538.html
评论列表(0条)