I have used the code below to move a <div> containing the MAP and LOCATION to the right side bar.
Page Setup -> Content Pages – > Listing Page Layout
[code] <!– main layout content removed for breviate –> <div id=’map’>[GOOGLEMAP] [ICON id=’map-marker’] [LOCATION]</div>
<script>jQuery( document ).ready(function() {
jQuery(“#map”).appendTo(“#map_right_column”);
}); </script>[/code]
Also under Appearance -> Themes -> Widgets I put a new TEXT box into the right column and entered the following which is the place i wanted the map to be added [code]<div id=’map_right_column’></div>[/code]
When the the displayed web page isnt the Listing Page Layout the right column displays an ’empty’ box in the right column, I have tried to use the Widget Display Options to only let it display on the Listing Page Layout but unfortunately I am unable to work out how to allow the box only to show on the specific page I want.
Firstly thanks to M, the code to show map in the side column
I have used the code below to move a <div> containing the MAP and LOCATION to the right side bar.
Page Setup -> Content Pages – > Listing Page Layout
[code] <!– main layout content removed for breviate –> <div id=’map’>[GOOGLEMAP] [ICON id=’map-marker’] [LOCATION]</div>
<script>jQuery( document ).ready(function() {
jQuery(“#map”).appendTo(“#map_right_column”);
}); </script>[/code]
Also under Appearance -> Themes -> Widgets I put a new TEXT box into the right column and entered the following which is the place i wanted the map to be added [code]<div id=’map_right_column’></div>[/code]
When the the displayed web page isnt the Listing Page Layout the right column displays an ’empty’ box in the right column, I have tried to use the Widget Display Options to only let it display on the Listing Page Layout but unfortunately I am unable to work out how to allow the box only to show on the specific page I want.
Attachments:
You must be logged in to view attached files.Members Only Content
This reply is for PremiumPress customers only.
Login Now