This topic has 5 replies, 2 voices, and was last updated 6 years by Radu.

  • Author
  • #177355
     rlarson87
    Participant

    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.
    #177508
     Radu
    Moderator

    Hi,

    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 solution
    #177583
     rlarson87
    Participant

    Thanks. My credentials are as follows:

    http://www.irside.com
    rlarson87
    Grace226!

    If login is not working, please login on this page.

    https://irside.com/wp-login.php

    #177685
     Radu
    Moderator

    Hi,

    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 solution
    #177729
     rlarson87
    Participant

    Hi, 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.
    #177968
     Radu
    Moderator

    Hi,

    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
Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?