Plugin Directory

Changeset 767948


Ignore:
Timestamp:
09/06/2013 02:15:18 PM (13 years ago)
Author:
johndaskovsky
Message:

Version 1.1.4 - Improved shortcode styling.

Location:
classdex/trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • classdex/trunk/classdex.php

    r767486 r767948  
    55Description: A class and customer management system for Wordpress.
    66Author: John Daskovsky 
    7 Version: 1.1.3
     7Version: 1.1.4
    88Author URI: http://howtononprofit.wordpress.com/about/
    99
     
    308308}
    309309
    310 
    311310function load_admin_custom_css(){
    312311    add_action( 'admin_enqueue_scripts', 'load_custom_classdex_style' );
    313312}
     313
     314function classdex_enqueue_style() {
     315    wp_register_style( 'classdex_public_css', CLASSDEX_URL . '/css/classdex.css');
     316    wp_enqueue_style( 'classdex_public_css' );
     317}
     318add_action( 'wp_enqueue_scripts', 'classdex_enqueue_style' );
    314319?>
  • classdex/trunk/includes/shortcodes.php

    r767486 r767948  
    116116                    $content .= $class_status;
    117117                }
    118                 $content .= "<br>[divider]";
     118                $content .= "<br><div class=\"classdex_divider\"></div>";
    119119            }
    120120        }
     
    147147    }else{
    148148           
    149         $content .= "[fancy_table]<table><thead><tr>";
     149        $content .= "<table class=\"classdex_fancy_table\"><thead><tr>";
    150150        $content .= "<th><strong>Class</strong></th><th><strong>Day</strong></th><th style=\"width: 75px;\"><strong>Time</strong></th><th style=\"width: 100px;\"><strong>Dates</strong></th><th><strong>Fee</strong></th><th style=\"width: 240px;\"><strong>Registration</strong></th></tr></thead><tbody>"; 
    151151               
     
    174174            $content .= "</tr>";
    175175        }
    176         $content .= "</tbody></table>[/fancy_table]";
     176        $content .= "</tbody></table>";
    177177    }
    178178       
  • classdex/trunk/readme.txt

    r767486 r767948  
    44Requires at least: 3.5
    55Tested up to: 3.6
    6 Stable tag: 1.1.3
     6Stable tag: 1.1.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4646== Changelog ==
    4747
     48= Version 1.1.4 =
     49* NEW: Added custom ClassDex css for the front end.
     50* FIXED: Generalized style of shortcode displays.
     51* FIXED: Removed improper shortcode usage.
     52
    4853= Version 1.1.3 =
    4954* NEW: Added clarifying text to the class waiver.
     
    7277
    7378= 1.1.3 =
     79This release improves the shortcode displays and adds custom css flexibility. [See documentation for details.](http://howtononprofit.wordpress.com/classdex/)
     80
     81= 1.1.3 =
    7482This release contains several bug fixes and new features. Please note, the shortcodes have changed. [See documentation for details.](http://howtononprofit.wordpress.com/classdex/)
    7583
Note: See TracChangeset for help on using the changeset viewer.