New Landing How can we help? Atelier Map not displaying on individual directory entry pages

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Atelier
  • #219721
    Brentnauer
    Member
    Post count: 65

    Individual directory pages are not displaying the map. There is a space for it to display, but nothing is there.

    This issue existso n the Atelier demo site as well.

    #219852
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Thanks for the heads up. Manage to replicate in my development server.
    Will check for a solution, let you know when it’s done.

    -Rui

    #220885
    Brentnauer
    Member
    Post count: 65

    Any progress on this? Feature is essentially half broken.

    Thanks

    #221077
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    I just added the code below to the functions.php section where the script detects if it will be used a map so it can load the google maps scripts only when necessary.

    ` if ( get_post_type( $post->ID ) == ‘directory’ ){
    $page_has_map = true;
    }`

    This seems to be the best solution, I’m just confirming this with our head developer so we can include it in the next update.

    For now it’s changed on your site and the map is displaying fine.

    -Rui

    #221188
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Just confirmed and this will be the solution that we will include in the next update.

    -Rui

    #222687
    bijak
    Member
    Post count: 5

    hi Rui,

    where should I insert the code in functions.php (line)?

    #222739
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    It can be in any place inside the php tags.

    Give it a try.

    -Rui

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register