Customizable presentation widget to display posts, pages, external content, links, images, and plain text in a customized style.
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.
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.
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".
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).
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: 7 years ago
Active Installs: 20+
Got something to say? Need help?