Plugin Directory

Changeset 1804949


Ignore:
Timestamp:
01/18/2018 06:56:35 AM (7 years ago)
Author:
JorgeAmVF
Message:

code formatting and version alignment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • catag/trunk/catag.php

    r1804034 r1804949  
    33* Plugin Name: autometa's CATAG
    44* 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.0
     5* Version: 2.2
    66* Author: JorgeAmVF
    77* Author URI: https://profiles.wordpress.org/jorgeamvf/
     
    3030    global $post;
    3131    $am_cats = '<span id="cats" class="autometa">' .get_the_category_list( $separator = ' ', $post->ID ) . '</span>';
    32         return $am_cats;
     32    return $am_cats;
    3333}
    3434add_shortcode( "cats", "autometa_post_categories" );
     
    3838    global $post;
    3939    $am_tags = '<span id="tags" class="autometa">' . get_the_term_list( $post->ID, 'post_tag', $separator = ' ' ) . '</span>';
    40         return $am_tags;
     40    return $am_tags;
    4141}
    4242add_shortcode( "tags", "autometa_post_tags" );
     
    5454            ),
    5555        ) ) . '</span>';
    56             return $am_catag;
     56    return $am_catag;
    5757}
    5858add_shortcode( "catag", "autometa_post_taxonomies" );
Note: See TracChangeset for help on using the changeset viewer.