Plugin Directory

Changeset 1802155


Ignore:
Timestamp:
01/13/2018 12:49:37 AM (7 years ago)
Author:
JorgeAmVF
Message:

better-formed readme.txt file provided and CSS selectors added to titul.php

Location:
dated/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dated/trunk/dated.php

    r1732176 r1802155  
    22/*
    33* Plugin Name: autometa's DATED
    4 * Description: It reproduces the publication date in pages or posts or portfolios or products simply via: [dated].
    5 * Version: 1.1
     4* Description: It reproduces publication dates in pages, posts, portfolios or products simply via: [dated].
     5* Version: 2.0
    66* Author: JorgeAmVF
    77* Author URI: https://profiles.wordpress.org/jorgeamvf/
     
    2626*/
    2727
    28 // [dated] = date
    29 function autometa_publication_date(){
    30 $autometaspublicationdate = get_the_date();
    31  return $autometaspublicationdate;
     28// [dated] = publication date
     29function autometa_publication_date() {
     30    $am_dated = '<span id="dated" class="autometa">' . get_the_date() . '</span>';
     31        return $am_dated;
    3232}
    33 add_shortcode("dated","autometa_publication_date");
     33add_shortcode( "dated", "autometa_publication_date" );
    3434?>
  • dated/trunk/readme.txt

    r1732176 r1802155  
    33Donate link: https://quaestio.org/
    44Tags: shortcode, automation, metadata, date
    5 Requires at least: 2.5.0
    6 Tested up to: 4.8.1
     5Requires at least: 3.0.0
     6Tested up to: 4.9.1
    77Stable Tag: trunk
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 It reproduces the date in pages or posts or portfolios or products simply via: [dated].
     11It reproduces publication dates in pages, posts, portfolios or products simply via: `[dated]`.
    1212== Description ==
    1313
    14 <strong>autometa's DATED</strong> is a simple plugin that uses the following shortcode:
     14**autometa's DATED** is a simple plugin that uses the following shortcode:
    1515
    16 * *[dated]* = to reproduce the publication date.
     16* `[dated]` = to reproduce the publication date.
    1717
    18 **autometa's DATED** is an element of **[autometa](https://wordpress.org/plugins/autometa/)** plugin set.
    19 
    20 == Installation ==
    21 
    22 1. Download it or install it to your plugin folder;
    23 2. Activate it from the plugin tab inside your dashboard;
    24 3. Write the following shortcode in text fields: *[dated]*.
     18**autometa's DATED** is a standalone component of **[autometa](https://wordpress.org/plugins/autometa/)** shortcodes pack.
    2519
    2620== Frequently Asked Questions ==
    2721
    28 = How does autometa's DATED work? =
     22= Installation Instructions =
    2923
    30 **[autometa](https://wordpress.org/plugins/autometa/)** reproduces metadata information automatically via shorcodes in general, **autometa's DATED** reproduces the publication date in special.
     241. Install it from *Dashboard*/*Plugins*/*Add Plugins* or download it to your plugin folder;
     252. Activate it from *Dashboard*/*Plugins*/*Installed Plugins*;
     263. Write the following shortcode in text fields: `[dated]`.
    3127
    32 = What is needed to use autometa's DATED? =
     28= Plugin Features =
    3329
    34 Just write the following shortcode inside a text field and between brackets as usual: *[dated]*.
     30**[autometa](https://wordpress.org/plugins/autometa/)** reproduces metadata information automatically via shorcodes in general, **autometa's DATED** reproduces date-related data in special.
    3531
    36 = Which functions are used by autometa's DATED? =
     32= How To =
    3733
    38 These: [`add_shortcode()`](https://developer.wordpress.org/reference/functions/add_shortcode/) and [`get_the_date()`](https://developer.wordpress.org/reference/functions/get_the_date/).
     34Just write the following shortcode inside a text field and between brackets as usual: `[dated]`.
     35
     36= CSS Style Selectors =
     37
     38* `#dated`      = `[dated]` ID;
     39* `.autometa`   = **autometa** class.
     40
     41= PHP Functions Reference =
     42
     43* [`add_shortcode()`](https://developer.wordpress.org/reference/functions/add_shortcode/)
     44* [`get_the_date()`](https://developer.wordpress.org/reference/functions/get_the_date/)
Note: See TracChangeset for help on using the changeset viewer.