WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

PBox

Customizable presentation widget to display posts, pages, external content, links, images, and plain text in a customized style.

How do I include icons representing custom file extensions for links?

At present this requires some knowledge of PHP. Open the file in the PBox directory called pb.config.php.

In this file there is an array called extra_icons. Each extra icon requires a name, a pattern to match and the name of the icon image that you've saved in the 'images' directory. The pattern field is a regular expression using the PCRE pattern syntax.

For examples and instructions on how to write PCRE patterns, See Pattern Syntax and Pattern Modifiers.

Does this plugin work in versions of WordPress before 2.8?

No. PBox relies on the new Widget API introduced with the release of 2.8. It will not function correctly on older installs of WordPress.

How do I store the CSS styles in my theme directory instead of the plugin directory?

To change the location of the CSS styles to your theme directory, selct "PBox Styles" from the PBox menu on the left and check "Store stylesheet in theme directory".

How do I make my own PBox style?

In order to customize an external CSS file, the PBox plugin directory must be writable.

Select "PBox Styles" to add a style or customize existing styles. Enter the name of the new style then click "Create".

Fill in the styling option text boxes as necessary, using the short codes provided at the top of the page. If you run into any troubles, take a look at the options and CSS of any one of the three provided styles (Default-Style, Alert, and InfoByte).

How do I make a PBox like the example in "screenshots"?

Let's assume you're using WP 2.9.2 and have downloaded/installed/activated the plugin.

On the left-hand navigation menu, look for "PBox", click the drop down, and then click "Manage PBoxes". Then, in the top left, there is a section called "Create new presentation box". Enter a title (in the demo we used "PBox Demo") and click "Create". You'll then be taken to a page where you can modify the PBox contents. The demo provided shows one "text" item and one "page" item.

To do this, select "text" for the first row, and beside it, enter the text you wish to appear (in the demo, we used "You can have multiple types of items in your PBox!". In the second row, select "page/post/file", and enter the ID of the page you wish to link to. For the demo, we also chose "item and excerpt" to have an excerpt of the page appear. Now, click "Save Changes" at the bottom. (Note the ID of the PBox that was created.)

Finally, go to your Widget manager and drag a "Presentation Box" widget onto your sidebar. Enter the PBox ID, select a style (in the demo we used "Alert"), and click "Save".

That's all! When viewing your blog, you should now have a PBox similar to our example!

Requires: 2.8 or higher
Compatible up to: 2.9.2
Last Updated: 2010-3-4
Downloads: 3,316

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0 100,2,2
100,2,2 100,2,2
100,3,3