WordPress.org

Plugin Directory

Changeset 227246


Ignore:
Timestamp:
04/09/10 20:32:10 (4 years ago)
Author:
leogermani
Message:

release 1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • eletro-widgets/trunk/readme.txt

    r118961 r227246  
    44Tags: widgets, home, cms 
    55Requires at least: 2.7 
    6 Tested up to: 2.7.1 
    7 Stable tag: 0.1 
     6Tested up to: 2.9.2 
     7Stable tag: 1.0 
    88 
    99Allows you to use the power and flexibility of the WordPress Widgets to set up a dynamic area anywhere in your site and manage multiple columns of widgets, dragging and dropping them around 
     
    2121 
    2222== Usage == 
     23 
     24<code> 
     25<?php new EletroWidgets([$cols = 2][, $id = 0] [, $onlyEletroWidgets = false]); ?> 
     26</code> 
    2327 
    2428The basics: 
     
    6165Note: There MUST be at least one container with the ID 0 (zero). All you have to do is declare at least one EletroWidget leaving the ID parameter empty 
    6266 
    63 After that, make sure you have styles for all the containers in your eletro-widgets.css file. There are examples in this file so you can create as much containers as you need. 
     67 
     68== How to restrict available widgets== 
     69 
     70You may want to choose only a few widgets to be available on your eletro widget canvas. 
     71 
     72You can do that by passing the third paramater as true. It will tell this canvas to hide from the list of available widgets all the widgets that were not defined as an "eletro-widget". 
     73 
     74To define a widget as an "eletro-widget", do the following: 
     75 
     76<code> 
     77<?php defineAsEletroWidget($widgetId); ?> 
     78</code> 
    6479 
    6580== Screenshots == 
Note: See TracChangeset for help on using the changeset viewer.