Travel Map Plugin Syntax Question
-
I currently have the Travelmap plugin loaded onto my site. With the help of a friend who knows more CSS than I do, I have managed to put it on my homepage (www.peterandme.com). The trouble I am having is showing just the last 5 destinations of my travels (this is a travel blog). I know that they syntax is [travelmap-map first=10 last=14] (where I can edit the “10” and the “14” as I travel), but I don’t know how to actually write this into the code. Needless to say, I am no coding expert.
Currently, I have the following code in my header:
?>
</head>
<?php
if (is_front_page()){
echo do_shortcode(‘[travelmap-map height=400]’);
}
?>I tried various things like put a comma between the codes, but every time it either does not work, or I get a funky result (like a big white space between the map and the toolbar).
More details: This is a the TwentyEleven theme
Site once again: https://www.peterandme.com
Plugin page: https://www.ads-software.com/plugins/travelmap/Can anybody help me? Thanks a bunch in advance.
-Peter (from Seattle, but roaming South America at the moment:)
- The topic ‘Travel Map Plugin Syntax Question’ is closed to new replies.