If you’re using Custom Post Type and want to add maps functionality to that post type, you can use this filter in your functions.php
function add_custom_post_type($args){ $args[] = 'car'; return $args; } add_filter('travellerpress_post_types','add_custom_post_type');
This example adds Map to the “car” post_type.
Displaying the map is up to you, you can use
<?php echo do_shortcode( '[tp-single-map]' ); ?>
in your template file responsible for displaying your custom post type