WordPress.org

Plugin Directory

Changeset 590758


Ignore:
Timestamp:
08/27/12 04:37:45 (20 months ago)
Author:
bradparbs
Message:

Fixed issues with shortcode output

Location:
wptextresizecontrols/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wptextresizecontrols/trunk/init.php

    r590746 r590758  
    33Plugin Name: wpTextResize 
    44Description: Use the [wpResize] shortcode wherever you want the resizing controls to show up. 
    5 Version: 1.2 
     5Version: 1.4 
    66Author: Brad Parbs 
    77Author URI: http://github.com/bradp 
     
    1919 
    2020function wpTextResizeControlsWidget(){ 
    21     ?> 
    22     <div title='Resize Body Text' class="wpTextResizeControls" style='background-color:lightgray;border-radius:7px;-moz-border-radius:7px;-webkit-border-radius:7px;padding:3px;width:55px;'> 
    23         <a class='increaseFont' title='Increase Font Size' style='font-size:18px;'>A</a><a class='resetFont' title='Reset Font Size' style='font-size:13px;padding-left:10px;'>A</a><a class='decreaseFont' title='Decrease Font Size' style='font-size:10px;padding-left:10px;'>A</a></div> 
    24     <?php 
     21    $widget = " 
     22    <div title='Resize Body Text' class='wpTextResizeControls' style='background-color:lightgray;border-radius:7px;-moz-border-radius:7px;-webkit-border-radius:7px;padding:3px;width:55px;'> 
     23        <a class='increaseFont' title='Increase Font Size' style='font-size:18px;'>A</a><a class='resetFont' title='Reset Font Size' style='font-size:13px;padding-left:10px;'>A</a><a class='decreaseFont' title='Decrease Font Size' style='font-size:10px;padding-left:10px;'>A</a></div>"; 
     24    return $widget; 
    2525} 
    2626 
  • wptextresizecontrols/trunk/readme.txt

    r590751 r590758  
    2828== Changelog == 
    2929 
     30= 1.4 =  
     31 
     32* Fixed issues with shortcode output 
     33* Better coding with returning shortcode instead of echoing 
     34* updated js path in plugin in case the user renames the plugin folder 
     35* updated version number 
     36 
     37 
    3038= 1.2 = 
    3139 
    3240* Added resizing ability to all WordPress themes, no matter what html layout exists 
    3341* added shortcode to display controls 
     42 
     43= 1.0 = 
     44 
     45* initial release 
Note: See TracChangeset for help on using the changeset viewer.