Forum Replies Created

Viewing 15 replies - 1 through 15 (of 339 total)
  • Plugin Author Camille V

    (@socrapop)

    Hello,

    Not it is technically not possible in WordPress. The only way would be to get the map into an iframe and show it on the other site, but nowadays iframes are hard to setup because of security features in web browsers.

    So the logical answer here is no, unfortunately.

    Plugin Author Camille V

    (@socrapop)

    Dear @jenmartin,

    You should try to use the shortcode helper and use the minzoom parameter :
    [travelers-map minzoom=1]

    You can change the 1 to something else so it correspond to what you want. The higher the value, the less you can zoom out !

    Plugin Author Camille V

    (@socrapop)

    Dear @lordmatt,
    Can you clarify what’s the WordPress Geotag Standard ? I can’t find any information about that.

    As you can understand, no, it’s not possible to automatically import geotags, the plugin uses json saved as WordPress post metadata to add markers.
    If you are willing to write a script to import your data into the database, then you could do it.
    But be aware that with Travelers’ map, the markers are linked to a Post Type only (page, post, custom post type…).

    If you want to write a custom script to add the necessary metadata on your posts, you can read my answer to a github issue here : https://github.com/Socrapop/travelers-map/issues/21#issuecomment-875812316
    If you want to check the plugins code to understand how the metadata is generated :
    https://github.com/Socrapop/travelers-map/blob/a80da7cbce4fcacdc04a1da45ebb7b43ada8d1ea/includes/admin/cttm-admin.php#L445
    And here is the saving function for travelers’ map (that uses the function above, then json encode them and save them as metadata) : https://github.com/Socrapop/travelers-map/blob/a80da7cbce4fcacdc04a1da45ebb7b43ada8d1ea/includes/admin/cttm-admin.php#L390

    I hope this helps, I don’t know if the plugin is what you are really looking for, but anyway, I did my best ^^’

    Plugin Author Camille V

    (@socrapop)

    Hello,

    Oui c’est un paramètre de shortcode, tu peux aller dans Travelers’ map > Assistant code court, et en bas de page tu peux choisir le rayon dans “Rayon maximum du regroupement :
    Ça génère un shortcode en haut de la page, il suffit ensuite de le copier et de le mettre à la place de ton shortcode actuel (ou alors de simplement récupérer le paramètre de shortcode correspondant, à savoir max_cluster_radius=45 (45 étant la valeur par défaut)

    Plugin Author Camille V

    (@socrapop)

    Bonjour Rémi,

    Je vois que tu as réussi à la mettre dans la largeur, je suppose qui s’agissait du thème qui ajoutait un conteneur trop petit.

    Bonne soirée,
    Camille

    Plugin Author Camille V

    (@socrapop)

    Hello,

    Thank you for finding out what was the problem. This css file is loaded only on the backoffice and is used in the travelers map settings page and shortcode helper page.
    I will clean all of this in the next fix, most of the .col- classes are useless. You can remove the conflicting class declaration manually in the meantime 😉

    Plugin Author Camille V

    (@socrapop)

    Dear Morgan,

    Sorry for the response time I missed your post.

    I’m checking on your website, Travelers’ map is not loading any javascript (.js) file on your website, so no LeafletJS nor travelers map necessary files.

    It’s often a problem with cache or cookie plugins. If you have some, please try to refresh the cache, and to disable the cookie plugin (just for testing, you can reenable it afterwards).

    I don’t know Ezoic but i’m checking their plugin page, it has “Ezoic caching and CDN settings” (so you might check with this cache or disable temporarily to test) and “Detection of conflicting plugins or WordPress theme settings“, I don’t know what that really means but it might as well be that. I don’t know your usage of it, but if you can disable it temporarily without breaking everything, or just check their plugin settings to see if something can be done, let me know.

    Have a good day,
    Camille

    Plugin Author Camille V

    (@socrapop)

    Dear Rianne,

    I’m having a hard time understanding what you want to do and the structure of your website.

    Some questions for you :

    You have two post types, tribe_events and tribe_event_series.

    • Do the not functionnal posts have markers set in their edit page ?
    • Is the tribe_event_series really a post_type or is it a taxonomy (like category or tags) ?
    • Is the tribe_event_series a sort of category and you want to show a list of tribe_events associated with them on there page ?
    • In the Travelers’ Map settings, did you check your two post_types in the first setting “Active Travelers map on” ?

    Let me know, also if you could send me links of a tribe_event, and another of a tribe_event_series so I understand better.

    Have a good day,
    Camille

    Plugin Author Camille V

    (@socrapop)

    Dear kukiko,

    Have you tried to use this_post=true without post_id ? this_post=true is already showing the pin of the actual page.

    If the pin is not set on the actual page, remove this_post=true 😉

    Let me know,
    Camille

    Plugin Author Camille V

    (@socrapop)

    Yes, the searchbar is only for searching a place in the world, not posts.

    Indeed you should use the wordpress searchbar and show a shortcode in the result page for that.
    Can you elaborate on your issue, it feels like a conflict with your theme or an error in the javascript, could you check the developer console of your browser for errors ?
    Is this related to the error in your other support thread ?
    https://ww.wp.xz.cn/support/topic/current_query_markers/

    Plugin Author Camille V

    (@socrapop)

    Hello there,

    The searchbar is a leaflet plugin named Leaflet Search https://github.com/stefanocudini/leaflet-search

    It is set as is in Travelers map.

    You could add some CSS if you want to make it bigger, but you can’t set it outside the map.

    Example of CSS to add to your site (ou can tweak the values if you want)

    .travelersmap-container .leaflet-control-search .search-input {
    height:33px; //add height to the searchbar
    padding:0 50px 0 11px; // change inside margins of input field (top right bottom left values)
    }
    .travelersmap-container .leaflet-control-search .search-button {
    margin-top: 6px; // center the search icon vertically
    }

    Plugin Author Camille V

    (@socrapop)

    Hello @patrickhaond,

    Indeed there might be a bug, but I think the bug is due to another parameter, centered_on_this or this_postthat should not be used on a shortcode placed outside of a post/page.
    I assume you want to set a shortcode in your search result page (or category page), try to remove unnecessary parameters in your shortcode and that should work 🙂

    Tell me if my assumptions were right and if it’s working.

    Plugin Author Camille V

    (@socrapop)

    Bonjour Thibaut,

    Ce n’est pas un comportement voulu non, mais plusieurs personnes m’ont fait remonter le problème de Complianz, malheureusement je ne peux rien faire, je pense qu’il faut le régler pour whitelist OpenStreetMap.
    Sinon, le message est modifiable avec un filtre WordPress (comme vous l’avez précisé dans votre message), si vous êtes développeur ou avez dans votre équipe un dev, vous pouvez utiliser :

    function cttm_change_loading_message() {
    return "Message modifié";
    }
    add_filter( 'cttm_loading_message', 'cttm_change_loading_message');

    Concernant Loco Translate c’est étrange effectivement, je ne sais pas trop quoi répondre, peut-être qu’il s’agit d’un bug.

    Plugin Author Camille V

    (@socrapop)

    Yes indeed, I tried my best allowing HTML in the excerpt but for security reasons and WordPress security limitations, I couldn’t.
    Yes you should use the filters to add your custom ACF fields or custom meta fields if you don’t want to use ACF

    Plugin Author Camille V

    (@socrapop)

    Hello,

    It’s possible, but you have to be a developer or ask a developer to do it for you.

    I added filters recently for this, here is a piece of documentation (with an ACF field) on how to do it :
    https://camilles-travels.com/get-started-with-travelers-map-wordpress-plugin/#filters

    However you can add a list as the Custom Excerpt (in the post’s marker settings area, click the button Edit information displayed in popover) using html like this :
    <ul><li>Point 1</li><li>Point 2</li></ul>

    Each line is wrapped inside <li></li> tags.

    Have a nice day,

    Camille

Viewing 15 replies - 1 through 15 (of 339 total)