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