Changeset 1804936
- Timestamp:
- 01/18/2018 06:52:01 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titul/trunk/titul.php
r1802140 r1804936 3 3 * Plugin Name: autometa's TITUL 4 4 * Description: It reproduces publication titles and links in pages, posts, portfolios or products simply via: [titul] and [titulink]. 5 * Version: 2. 05 * Version: 2.2 6 6 * Author: JorgeAmVF 7 7 * Author URI: https://profiles.wordpress.org/jorgeamvf/ … … 29 29 function autometa_publication_title() { 30 30 $am_titul = '<span id="titul" class="autometa">' . get_the_title() . '</span>'; 31 31 return $am_titul; 32 32 } 33 33 add_shortcode( "titul", "autometa_publication_title" ); … … 36 36 function autometa_publication_link() { 37 37 $am_titulink = '<span id="titulink" class="autometa"><a href="' . get_permalink() . '">' . get_the_title() . '</a></span>'; 38 38 return $am_titulink; 39 39 } 40 40 add_shortcode( "titulink", "autometa_publication_link" );
Note: See TracChangeset
for help on using the changeset viewer.