GeoMashup
[ class tree: GeoMashup ] [ index: GeoMashup ] [ all elements ]

Source for file shortcodes.php

Documentation is available at shortcodes.php

  1. <?php
  2. /** 
  3.  * Geo Mashup shortcodes
  4.  *
  5.  * @package GeoMashup
  6.  */
  7.  
  8. add_shortcode('geo_mashup_map', array( 'GeoMashup', 'map' ) );
  9. add_shortcode('geo_mashup_show_on_map_link', array( 'GeoMashup', 'show_on_map_link' ) );
  10. add_shortcode('geo_mashup_show_on_map_link_url', array( 'GeoMashup', 'show_on_map_link_url' ) );
  11. add_shortcode('geo_mashup_full_post', array( 'GeoMashup', 'full_post' ) );
  12. add_shortcode('geo_mashup_category_name', array( 'GeoMashup', 'category_name' ) );
  13. add_shortcode('geo_mashup_category_legend', array( 'GeoMashup', 'category_legend') );
  14. add_shortcode('geo_mashup_list_located_posts', array( 'GeoMashup', 'list_located_posts' ) );
  15. add_shortcode('geo_mashup_list_located_posts_by_area', array( 'GeoMashup', 'list_located_posts_by_area' ) );
  16. add_shortcode('geo_mashup_tabbed_category_index', array( 'GeoMashup', 'tabbed_category_index' ) );
  17. add_shortcode('geo_mashup_visible_posts_list', array( 'GeoMashup', 'visible_posts_list' ) );
  18. add_shortcode('geo_mashup_location_info', array( 'GeoMashup', 'location_info' ) );
  19.  
  20. /**
  21.  * Map template tag alias.
  22.  *
  23.  * Leave one old shortcode function in the global namespace, since Bruce used
  24.  * it with function_exists() in his implementation guide.
  25.  *
  26.  * @since 1.0
  27.  * @access public
  28.  * @deprecated 1.2 Use GeoMashup::map()
  29.  *
  30.  * @param array $atts Shortcode arguments.
  31.  */
  32. function geo_mashup_map( $atts ) {
  33.     return GeoMashup::map( $atts );
  34. }
  35.  
  36. ?>

Documentation generated on Sat, 09 Jul 2011 21:54:59 -0700 by phpDocumentor 1.4.3