• Resolved pacous

    (@pacous)


    After the update to version 1.12.0 the map with current post shows “No markers found for this Travelers’ map.” I haven’t modified anything. If I try – in the same post – simple shortcode without any attributes, the map with all markers is correctly displayed.

    This short code results in “No markers found” – [travelers-map height=60vh init_maxzoom=14 this_post=true]. However, this happens only to custom post types, not to the standard post.

    The marker for the post is definitely set as it is displayed in the overall map [travelers-map]. Thanks for your advice.

    • This topic was modified 3 years, 6 months ago by pacous.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pacous

    (@pacous)

    Done some additional investigation and probably found the reason:

    • I’m using Pods plugin to define custom post types
    • This plugin lets you decide if it stores the data in separate DB table or in wordpress meta table
    • Till recent days I had only wordpress meta table type used
    • Recently, I have added new custom post type and selected to use separate table instead of wp meta
    • It seems that since that time Travelers map plugin gets data only from the table (table-based custom post type works with the plugin correctly), but the meta-based content type stopped working.
    • If I create new custom post type table based, travelers map works correctly. If I create new post type wp-meta based, travelers map doesn’t work.

    Now the question is, whether this has something to do with traveler’s map or it is related to the Pods plugin….

    • This reply was modified 3 years, 6 months ago by pacous.
    • This reply was modified 3 years, 6 months ago by pacous.
    Thread Starter pacous

    (@pacous)

    Found the root cause. As soon as you set the custom post type in Pods plugin as “exclude from search” Traveler’s map stops working and says “No markers found”.

    Plugin Author Camille V

    (@socrapop)

    Dear @pacous,

    It seems you resolved your problem by yourself ??
    Yes, I did not touch the query or shortcode in V1.12, so I was surprised when I saw your post.

    But I’m glad you figured it out, and before I even started to help you ?? Thank you for the thorough investigation and explanation, that can be useful for people with the same problem!

    Have a nice day !
    Camille

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘this_post=true does not work after update’ is closed to new replies.