Plugin Directory

Changeset 933106


Ignore:
Timestamp:
06/16/2014 04:07:08 PM (12 years ago)
Author:
simplethemes
Message:

# update latest shortcode

Location:
smpl-shortcodes/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • smpl-shortcodes/trunk/includes/admin/generator/shortcodes/smpl_post_grid.js

    r864309 r933106  
    4242            selectValues:['true', 'false']
    4343        },
    44         //{
    45         //  label:"Thumbnail Width",
    46         //  id:"width",
    47         //  value:"",
    48         //  help:"Width of thumbnail images."
    49         //},
    50         //{
    51         //  label:"Thumbnail Height",
    52         //  id:"height",
    53         //  value:"",
    54         //  help:"Height of thumbnail images."
    55         //},
     44        {
     45            label:"Thumbnail Width",
     46            id:"width",
     47            value:"",
     48            help:"Width of thumbnail images."
     49        },
     50        {
     51            label:"Thumbnail Height",
     52            id:"height",
     53            value:"",
     54            help:"Height of thumbnail images."
     55        },
    5656        {
    5757            label:"Show Excerpts",
     
    6666            value:"55",
    6767            help:"Enter the length (integer) of length to trim excerpt."
     68        },
     69        {
     70            label:"Date",
     71            id:"date",
     72            help:"Display post date",
     73            controlType:"select-control",
     74            selectValues:['true', 'false']
    6875        },
    6976        {
  • smpl-shortcodes/trunk/includes/shortcodes.php

    r922127 r933106  
    835835
    836836        // post date
    837         if ($date == 'false') {
    838             $result.='<div class "postmeta small"><span class="post_written">'.get_the_date().'</span></div>';
     837        if ($date == 'true') {
     838            $result.='<div class="postmeta small"><span class="post_written">'.get_the_date().'</span></div>';
    839839            # code...
    840840        }
  • smpl-shortcodes/trunk/readme.txt

    r922130 r933106  
    3131== Changelog ==
    3232
     33= 1.0.14 =
     34* Fixed malformed tag in latest shortcode
     35* added thumb width options to latest shortcode
     36* added date options to latest shortcode
    3337
    3438= 1.0.13 =
  • smpl-shortcodes/trunk/smpl-shortcodes.php

    r922128 r933106  
    33Plugin Name: Simple Shortcodes
    44Description: This plugin works in conjuction with the SMPL framework to create shortcodes for many of the framework's internal elements.
    5 Version: 1.0.13
     5Version: 1.0.14
    66Author: simplethemes
    77Author URI: http://www.simplethemes.com
Note: See TracChangeset for help on using the changeset viewer.