Changeset 1804949
- Timestamp:
- 01/18/2018 06:56:35 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
catag/trunk/catag.php
r1804034 r1804949 3 3 * Plugin Name: autometa's CATAG 4 4 * Description: It reproduces post categories and tags in posts and it generates a cloud mixing categories and tags of posts simply via: [cats] and [tags] and [catag]. 5 * Version: 2. 05 * Version: 2.2 6 6 * Author: JorgeAmVF 7 7 * Author URI: https://profiles.wordpress.org/jorgeamvf/ … … 30 30 global $post; 31 31 $am_cats = '<span id="cats" class="autometa">' .get_the_category_list( $separator = ' ', $post->ID ) . '</span>'; 32 32 return $am_cats; 33 33 } 34 34 add_shortcode( "cats", "autometa_post_categories" ); … … 38 38 global $post; 39 39 $am_tags = '<span id="tags" class="autometa">' . get_the_term_list( $post->ID, 'post_tag', $separator = ' ' ) . '</span>'; 40 40 return $am_tags; 41 41 } 42 42 add_shortcode( "tags", "autometa_post_tags" ); … … 54 54 ), 55 55 ) ) . '</span>'; 56 56 return $am_catag; 57 57 } 58 58 add_shortcode( "catag", "autometa_post_taxonomies" );
Note: See TracChangeset
for help on using the changeset viewer.