Plugin Directory

Changeset 381074


Ignore:
Timestamp:
05/05/2011 03:01:17 AM (15 years ago)
Author:
bmsterling
Message:

Fixed class being added not getting appended to the module
Added a wrapping div with a class of pad around the content being dumped out for easier styling
Started the process of removing the "logic" part of this plugin, see quick notes for more information

Location:
dynowidg/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • dynowidg/trunk/DynoWidg.php

    r377618 r381074  
    44 * Plugin URI: http://benjaminsterling.com/wordpress-plugins/dynowidg/
    55 * Description: This plugin will allow you to dynamically add any piece of content to the sidebar as well as give you the ability to limit what pages/sections based on Wordpress' conditionals and/or selecting specific areas to limit.
    6  * Version: 0.1.2
     6 * Version: 0.1.3
    77 * Author: Benjamin Sterling | KenzoMedia
    88 * Author URI: http://kenzomedia.com
  • dynowidg/trunk/common/inc/widget.php

    r374253 r381074  
    3030        echo $before_widget_result[1].
    3131                $before_widget_result[2].' '.
    32                 $dcw_cls.
     32                $cls.
    3333                $before_widget_result[3];
    3434               
     
    4141        $thepost->post_content = apply_filters('the_content', $thepost->post_content);
    4242        $thepost->post_content = str_replace(']]>', ']]>', $thepost->post_content);
     43        echo '<div class="pad">';
    4344        echo $thepost->post_content;
     45        echo '</div>';
    4446       
    4547        echo $after_widget;
  • dynowidg/trunk/readme.txt

    r377618 r381074  
    55Requires at least: 3.0
    66Tested up to: 3.1.2
    7 Stable tag: 0.1.2
     7Stable tag: 0.1.3
    88
    99This plugin will allow you to dynamically add any piece of content to the sidebar as well as give you the ability to limit what pages/sections based on Wordpress' conditionals and/or selecting specific areas to limit.
     
    2525= Quick Note =
    2626
    27 I am thinking that the logic section of the plugin is a bit much and most likely not needed by default so the next minor release I most likely will be removing that functionality and add it to it's own plugin.
     27Next major release I will be removing the logic part of this plugin in favor of two alternatives that I am working on.  One that will add the same feature back into each widget you have and one where you can add widgets from the Page editor.  Hopefully they will be release all at the same time to make sure you have options.
    2828
    2929
     
    4242
    4343== Changelog ==
     44= 0.1.3 =
     45Fixed class being added not getting appended to the module
     46Added a wrapping div with a class of pad around the content being dumped out for easier styling
     47Started the process of removing the "logic" part of this plugin, see quick notes for more information
    4448
    4549= 0.1.2 =
Note: See TracChangeset for help on using the changeset viewer.