-
Author
-
October 22, 2017 at 06:27 #177355rlarson87Participant
Hi, on the “All Events” page, I would like to do the following:
1. Make map full width
2. Show all events on the map (like on the homepage) instead of just showing page-by-page results
Attachments:
You must be logged in to view attached files.October 23, 2017 at 16:10 #177508RaduModeratorHi,
I’m unable to login to your dashboard.
1. I saw that the company page it’s generated dynamically by the GeoDirectory and there is no backend for the page for that the map should be added programatically there wiht the next code
COPY CODE` add_action('kleo_before_content', 'inject_GD_map_before_content_on_related_types', 10); function inject_GD_map_before_content_on_related_types() { if( 'gd_events' == get_post_type() ) { echo do_shortcode('[gd_homepage_map post_type="gd_events" width=100% height=500px maptype=roadmap zoom=11 autozoom=true child_collapse=true scrollwheel=true marker_cluster=1 ]'); kleo_switch_layout('right'); } }`
The function needs to be pasted in wp-content/themes/kleo-child/functions.php
NOTE : Child theme needs to be installed and activated.
2. Provide credentials to take a look to see if it’s possible since geoDir not haves a place where you can manage the layout for the custom post types of geodir
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 24, 2017 at 00:24 #177583rlarson87ParticipantThanks. My credentials are as follows:
http://www.irside.com
rlarson87
Grace226!If login is not working, please login on this page.
October 24, 2017 at 17:29 #177685RaduModeratorHi,
The issue it’s the same and also the possible solution for that it’s to contact GeoDir team : https://archived.seventhqueen.com/forums/topic/all-companies-page/#post-177683
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 24, 2017 at 20:34 #177729rlarson87ParticipantHi, same thing on the Events page. See attachment. I just want to make the original map on the page be full screen.
Attachments:
You must be logged in to view attached files.October 26, 2017 at 15:31 #177968RaduModeratorHi,
The map should be rendered on ther place to can be fullwidth, so ask the GeoDir team how you can prevent to render the map there cuz you need to render the map outsite the container to can be full width.
To can add the map full width follow this solution: https://archived.seventhqueen.com/forums/topic/all-companies-page#post-177967
But you will have to ask them how you can prevent the map to be shown in default place.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.