WP-Tabbity

WP-Tabbity provides WordPress blog authors with the ability to leverage the jQuery UI to create an unlimited number of tab groups containing an unlimited number of tabs in any post or page. The plugin uses WordPress’s core shortcode lexicon and the included version of the jQuery libraries to allow quick, easy and versatile use of tabs anywhere on the site.




Plugin Info

Download Instructions

To download this plugin, visit the WordPress.org repository for WP-Tabbity, located here.

Installation Instructions

  1. Download the plugin
  2. Unzip and upload the /wp-tabbity directory and all it’s subdirectories to your /wp-content/plugins directory on your website
  3. Visit your Control Panel and activate the plugin in the Plugins section.
  4. Configure WP-Tabbity by visiting the Settings page for the plugin
  5. Tabs and tab groups can be added to your posts and pages per the instructions on the “Usage and Options” tab.

Configuration Instructions

  1. Once you’ve downloaded and installed the plugin, visit the Settings page for it in your Control Panel
  2. You can set the preferred jQuery Themeroller theme from the drop down list.
  3. Note: You can modify any of these CSS stylesheets to your liking, however your changes will be overwritten when this plugin gets upgraded. Better to make your changes in a copied directory (wp-tabbity/styles/myfancystyle). The plugin will detect the folder name and provide it as an available style to choose.

Basic Usage

To insert a single tab set into your post, you need only provide a minimum of two shortcodes: one wp-tabbity shortcode to specify the content of the tab and one wp-tabbitygroup shortcode to specify where the tabs will appear. It is important to note that all the tabs for a given group must appear before the group itself. Here, with curly braces instead brackets is the most basic usage of WP-Tabbity:

<!-- First, set up your tabs -->
{wp-tabbity}
Content for Tab One appears here
{/wp-tabbity}
{wp-tabbity}
Tab Two content goes here
{/wp-tabbity}

<!-- Now we need to tell WP-Tabbity where to put all this content -->
{wp-tabbitygroup}

Note that in the above example, since no title was specified for either tab, WP-Tabbity takes the first ten characters of the content as the title and CSS ID of the tab. If we want to use more than one tab group in a given page or post we must specify the groupid in both the wp-tabbity and the wp-tabbitygroup shortcodes as specified below.

WP-Tabbity Options

{wp-tabbity id="foo" title="Foo" class="bar none" order="0" groupid="first"}
  • id => Not required. Specifies both the CSS ID of the content, and the <a> anchor link to be applied to a given tab. Default: none.
  • title => Not required. Specifies the title to appear within the tab. Default: first ten characters of content.
  • class => Not required. Specifies the CSS class or classes to be applied to the tab. Note that this is in addition to, not overriding, the classes applied to it via jQuery. Default: “wp-tabbity”
  • order => Not required. Specifies the order in which this tab will appear in the list of tabs. Default: order of appearance.
  • groupid => Required if more than one! Specifies what wp-tabbitygroup shortcode will get this tab. Unless you require more than one tab group, this is not required. Default: “aTabbityGroup”

WP-Tabbitygroup Options

{wp-tabbitygroup groupid="first" groupcls="foo" grouptitle="First"}
  • groupid => Required if more than one! Identifies the group as one out of two or more. Not required unless there’s more than one group. Must correspond to the groupid specified in the wp-tabbity options. Default: “aTabbityGroup”
  • groupcls => Not required. Specifies the CSS class or classes you wish to apply to this group in addition to, not overriding, the classes applied to it via jQuery. Default: “wp-tabbity-group”
  • grouptitle => Not required. Specifies the title you wish to appear above the group, in <h2 class=”wp-tabbity-title”> tags. Default: none.

Additional Information

Current Version: 0.1-beta

  • 0.1 ~ Initial public release, still beta.

I welcome any suggestions users might have for this plugin. Please comment below to let me know what you think and be sure to subscribe to comments to keep up with the latest developments. Currently, the plans for this plugin as go-forward projects include the following list:

  1. Bug: problem with automatically-generated content IDs when the first ten characters of two tabs is the same.
  2. Add TinyMCE buttons to the Write Post/Page screens.
  3. Add the ability to load the page with a specific tab pre-loaded via $_GET (example.com/page?tab=mytab)
  4. There appears to be an issue with images not being properly wrapped within the WP-Tabbity DIVs

Tags: , , , ,

70 comments so far (is that a lot?)

Oyie, With the Conflicts!

There seems to have been a small problem with the Title to Tags plugin, as I inadvertently created a function without an “hn_” prefix.  So, there was a conflict with another plugin.  So, I’m recommitting a new version of the Title to Tags plugin, version 1.2.

Tags: , ,

No comments yet

The Titles to Tags Plugin

Updated to Version 2.0!

I’ve finally found time to wrap by brain around how Tortoise SVN works – which means understanding SVN in the first place, then figuring out how Tortoise’s GUI works – and I’ve updated the plugin after many moons of inactivity. Updates include some revamping of the code based on my experiments with it in another plugin, improved documentation in the plugin itself and bug fixes including the phantom tags commenters have reported.

Download Plugin

Never forget to post your tags again! With the Titles to Tags plugin, WordPress will scan your post’s title for the most keyword-appropriate words and add them to your tags list automatically on save! The plugin comes with a very long list of words which are statistically irrelevant, such as “I” or “among,” which don’t make good keywords. You can also edit this list to include more or less terms by going to Options > Titles 2 Tags. There is also an option to revert to the original list, but watch out! You will lose your edited list forever if you do this!

This plugin will only save tags to your posts if none exist already. The presumption is that if you’ve already saved tags, you must know what you want and anyway, you might have removed some tags Titles to Tags added because you don’t like them. The function runs every time you save a post, either by publishing, saving or editing the post.

To install the plugin, simply download it from the WordPress Plugin Repository, then extract both the hn_titles_to_tags.php file and then hn_t2t and it’s contents into your /plugins folder. Activate the plugin by going to Plugins, and begin posting as normal.

WordPress MU Developers: Note that, if your creating a community-based website built on MU – and your users aren’t being diligent about adding tags – this is a great way to get those tags created painlessly! You can place the file and it’s companion directory in the /mu-plugins file and each blog will get it’s own editable list of ignored words.

And hey! If you like this plugin, I would really appreciate it if you went back to the WordPress.org page and rated it! Thanks!

Tags: , , ,

38 comments so far (is that a lot?)