WordPress.org

Ready to get started?Download WordPress

Forums

WP Geo Big Map
Big Map showing custom post types (3 posts)

  1. hectorgarrofe
    Member
    Posted 2 years ago #

    Hello,

    I want to display all the markers from a custom type, not the default Post type of WordPress.

    Is it possible?

    Thanks in advance!

    http://wordpress.org/extend/plugins/wp-geo-big-map/

  2. hectorgarrofe
    Member
    Posted 2 years ago #

    I solved it myself.

    I add the line: 'post_type' => 'name_of_post_type' to the $defaults variable in "wp-geo-big-map/wp-geo-big-map.php".

    Something like this works:

    $defaults = array(
    'post_type' => 'name_of_post_type',
    'lines' => true,
    'backlink' => get_home_url(),
    'backtext' => 'back to blog',
    'combined_text' => 'posts - click to view',
    'numberposts' => -1,
    'orderby' => 'post_date',
    'order' => 'DESC',
    'lat' => false,
    'long' => false,
    'zoom' => false,
    'maptype' => false
    );

    I don't want to change the plugin's core. With a new shortcode's parameter you can add this new functionality, it's easy to implement.

  3. pinedandres
    Member
    Posted 2 years ago #

    Hello,
    I have been trying to find how to display markers on the map. I have not been successful. I am fairly new to this and i am having difficulty setting the markers up. Is there anywhere were I can follow step by step instructions on how to do this?

    For example I want to place a marker at:

    SW 142nd Ave & SW 102nd St The Hammocks, FL 33186
    25.6799329
    -80.4208563

    17985 Southwest 100th Street, Miami, United States
    25.670492
    -80.486038

    How would I go about this?

    http://www.pinedandres.com/professional-portfolio/

    Thank you for your time!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic