looks like this
•Description
This plugin arranges entry body right and left by dividing the text into two just like newspaper.
*This plugin ‘only’ splits text between paragraph and paragraph.
•Requirements
WordPress 2.5 environment
•Install
Place files into your /wp-content/plugins/ directory and activate through the administration panel.
•Settings
This plugin does not have any option panel.
•CSS
Before you separate column, you must add three CSS code at your style sheet. Here’s sample:
#dualcolumn_container {
width: 100%;
text-align: justify;
text-justify: auto;
margin-top: 15px;
}.dualcolumn_left {
width: 48%;
float: left;
}.dualcolumn_right {
width: 48%;
float: right;
}
•Usage
<dualcolumn [offset="+1|-1"] [nojump]>〜</dualcolumn>
*from 0.1.1, offset will allow from -9 to +9.
offset: +1 or -1
This plugin calculate number of characters at text so sometimes the point to split is too early or too late because of spacing. If so, use this option to adjust its split point.
*You must have more than 3 paragraphs if you want to use this option.
nojump:
By default, plugin automatically add small arrow icon at bottom of left column to ump to top of entry. This is very good for your reader to suppress their scrolling action. Also, the jump link ‘only’ jumps to top of its entry so if you want to place more than two sets of <dualcolumn>…</dualcolumn>, you need this option to avoid unexpected jump.
•Sample
http://www.vjcatkick.com/?page_id=7369
•Download
via WordPress.org
•Versions
* Feb 07 2009 – v0.1.0
- Initial release
* Feb 24 2009 – v0.1.1
- bug fix – important: see note below
* Jun 18 2009 – v0.1.2
- bug fix – in case paragraph did not have any ‘actual’ text (means only tags such as IMG)
•Version 0.1.1 fix
- Guys, sorry I made mistake to calculate character count at 0.1.0 version, and this version 0.1.1 and later version is now what I want to do. This change will actually ‘change’ paragraph break as older version so you will do re-write option of dualcolumn tag to ‘plus’ direction. (i.e. offset=”-1″ to offset=”0″, no offset to offset=”+1″ : you need ‘+’ symbol)
- This fix changes paragraph breaks at your blog, again I am sorry to force you to reedit your blog entries.
- If you start using from version 0.1.1, you do not have to reedit your entries.
•If you like this
If you like this plugin, writing small entry on your blog and trackbacking to this entry makes me really really happy!
2 Responses to “WP Plugin: Dual Column”
Leave a Reply
TrackBack URL : http://www.vjcatkick.com/blog/wp-trackback.php?p=7381
February 9th, 2009
This is a very good idea. I tried to put the tag on a page in the HTML view. Unfortunally when I change to Visual View the tag disappeared. Is this a plugin’s limitation?
I should edit the page in wyswyg mode to see where text is splitted.
February 9th, 2009
Thank you downloading my plugin and it is not supported wyswyg mode maybe it is WordPress’s specification removing ‘unknown’ tags. I believe that it is better editing dynamically but currently its only support with preview mode.