Plugin Directory

Changeset 966057


Ignore:
Timestamp:
08/14/2014 10:16:27 PM (12 years ago)
Author:
simplethemes
Message:

# fix issue with sixth column classes

Location:
smpl-shortcodes/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smpl-shortcodes/trunk/includes/shortcodes.php

    r956915 r966057  
    6363            break;
    6464
     65        case 'five_sixth' :
     66            $class .= 'five_sixth';
     67            break;
     68
    6569        case 'one_fourth' :
    6670            $class .= 'one_fourth';
    6771            break;
    6872
     73        case 'two_sixth' :
    6974        case 'one_third' :
    7075            $class .= 'one_third';
    7176            break;
    7277
     78        case 'three_sixth' :
    7379        case 'one_half' :
    7480            $class .= 'one_half';
    7581            break;
    7682
     83        case 'four_sixth' :
    7784        case 'two_third' :
    7885        case 'two_thirds' :
     
    134141        case 'one_sixth_last' :
    135142            $class .= 'one_sixth last';
     143            break;
     144
     145        case 'two_sixth_last' :
     146            $class .= 'two_sixth last';
     147            break;
     148
     149        case 'three_sixth_last' :
     150            $class .= 'three_sixth last';
     151            break;
     152
     153        case 'four_sixth_last' :
     154            $class .= 'four_sixth last';
     155            break;
     156
     157        case 'five_sixth_last' :
     158            $class .= 'five_sixth last';
    136159            break;
    137160
  • smpl-shortcodes/trunk/smpl-shortcodes.php

    r956915 r966057  
    8080        // Columns -- @todo clean this mess up, and create single [column] shortcode
    8181        add_shortcode( 'one_sixth', 'smpl_shortcode_column' );          // 1/6
     82        add_shortcode( 'two_sixth', 'smpl_shortcode_column' );          // 2/6
     83        add_shortcode( 'three_sixth', 'smpl_shortcode_column' );        // 3/6
     84        add_shortcode( 'four_sixth', 'smpl_shortcode_column' );         // 4/6
     85        add_shortcode( 'five_sixth', 'smpl_shortcode_column' );         // 5/6
    8286        add_shortcode( 'one_fourth', 'smpl_shortcode_column' );         // 1/4
    8387        add_shortcode( 'one_third', 'smpl_shortcode_column' );          // 1/3
     
    112116        add_shortcode( 'four_fifth_last', 'smpl_shortcode_legacy_column_last' );        // 4/5
    113117        add_shortcode( 'four_fifths_last', 'smpl_shortcode_legacy_column_last' );       // 4/5
     118        add_shortcode( 'two_sixth_last', 'smpl_shortcode_column' );                     // 2/6
     119        add_shortcode( 'three_sixth_last', 'smpl_shortcode_column' );                   // 3/6
     120        add_shortcode( 'four_sixth_last', 'smpl_shortcode_column' );                    // 4/6
     121        add_shortcode( 'five_sixth_last', 'smpl_shortcode_column' );                    // 5/6
    114122
    115123        // Components
Note: See TracChangeset for help on using the changeset viewer.