Plugin Directory

Changeset 1804936


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

code formatting and version alignment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titul/trunk/titul.php

    r1802140 r1804936  
    33* Plugin Name: autometa's TITUL
    44* Description: It reproduces publication titles and links in pages, posts, portfolios or products simply via: [titul] and [titulink].
    5 * Version: 2.0
     5* Version: 2.2
    66* Author: JorgeAmVF
    77* Author URI: https://profiles.wordpress.org/jorgeamvf/
     
    2929function autometa_publication_title() {
    3030    $am_titul = '<span id="titul" class="autometa">' . get_the_title() . '</span>';
    31         return $am_titul;
     31    return $am_titul;
    3232}
    3333add_shortcode( "titul", "autometa_publication_title" );
     
    3636function autometa_publication_link() {
    3737    $am_titulink = '<span id="titulink" class="autometa"><a href="' . get_permalink() . '">' . get_the_title() . '</a></span>';
    38         return $am_titulink;
     38    return $am_titulink;
    3939}
    4040add_shortcode( "titulink", "autometa_publication_link" );
Note: See TracChangeset for help on using the changeset viewer.