Support » Plugin: WP Geo » page for all my listing property

  • Resolved bessyvl

    (@bessyvl)


    Hello Ben Congratulations for the plugin is very good, the I Ney question I want to make a page where displaying all the listings of properties that make google maps, listings have with no post, please can you help me to send the code forcreating page for all listings.
    Best Regards
    Besi

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Huson

    (@husobj)

    I can point you in roughly the right direction….

    In your templates you could use the WordPress get_posts function – see the example here:
    http://codex.wordpress.org/Template_Tags/get_posts

    You can use this to get all the posts that have a location like this:

    $posts = get_posts( array(
    	'numberposts'  => -1],
    	'meta_key'     => WPGEO_LATITUDE_META,
    	'meta_value'   => '',
    	'meta_compare' => '!='
    ) );

    Hope that helps

    bessyvl

    (@bessyvl)

    thnx for help Ben

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘page for all my listing property’ is closed to new replies.