` into your posts easily, please use the following code: `[div]TEXT[/div]` - TEXT is the text to put between the tags.
Well, a simple `
` would be quite senseless without an assigned class, so you would like to use the following code: `[div CLASS]TEXT[/div]` - CLASS is the class to use for the `
`.
Or use the style attribute: `[div s={STYLE}]TEXT[/div]` - STYLE must be valid css code. Please ensure that you put it into {} brackets!
Or use both of them: `[div c={CLASS} s={STYLE}]TEXT[/div]` - Please ensure that you put both values into {} brackets!
You can also specify multiple attributes easily: `[div raw={ATTRIBUTES}]TEXT[/div]` - ATTRBUTES are your attributes seperated with space - like in HTML. Please ensure that you put it into {} brackets!
Example: `[div raw={class="whatyouwanthere" id="DivN" title="TheDiv"}]TEXT[/div]`
== Installation ==
Place `wp-pb-easyDiv.php` in your plugins directory (*wp-content/plugins/*) and activate it in your admin panel.
== Issues ==
No issues known yet.
== Frequently Asked Questions ==
= None yet. =
Please pose your questions in the comments.
== Change log ==
**1.2** (*2007-05-10*)
* added raw={} so that you can now specify multiple attributes easily (like class, dir, id, lang, style, title)
* a few bugfixes
**1.1** (*2007-05-02*)
* added c={} so both class and style attributes can be used together in one [div] tag
* bugfix: the usage of style={} was broken
* changed style={} to s={}, no backwards compatibility needed 'cause it didn't work yet anyways
* worked-up the output constant
**1.0** (*2007-03-25*) - Initial release.