Tags
WordPress 2.3 will have full support for tagging, bSuite Tags is my interim solution. DO NOT USE THIS unless you’ve been using a previous version of bSuite.
Features
- Adds tag support to WordPress (including Flickr-style machine tags)
- Uses tags to find related posts
Installation
- Download and untar bsuite_btags.tar.gz
- Place the bsuite_btags folder into your wp-content/plugins/ directory
- Log in to your WordPress admin panel and activate the plugin, then visit the new bsuite submenu of the options tab. This will allow bSuite Tags to create its database tables.
Commands
The bsuite_btags submenu of the options has a few command buttons:
- Rebuild bsuite tag index
bsuite maintains its tag index with every story edit. Use this command to bring old-content into the index or if you’ve edited the content in way WP doesn’t know about.
Tagging Posts
Tags are input as part of a post’s content. bsuite recognizes tags in three forms:
- Any link with a
rel="tag"attribute - Any number of single tags like this:
[tag]tag name[/tag](angle brackets also work) - A block of comma-delimited tags like this:
[tags]WordPress, WordPress Plugin[/tags](angle brackets also work)
Machine tags are entered as above, but like this: [tag]namespace:fieldname=value[/tag].
Widgets
I gave up writing widgets for this plugin, as most everything about it will be superseded by WP2.3.
Functions
the_tagsthe_tags_simple
example:Tagged with: < ?php echo btaggy::the_tags_simple(', ') ?>the_related
example:< ?php echo btaggy::the_related(); ?>
returns an array of tags
License
This software is released as-is and without warranty under the terms of the GPL.
Road Map
Most of what you see here will be superseded by WP2.3. Once that’s out, I’ll probably be rolling tag-dependent goodies into bSuite Core and retire this. Until then, this is what I’ve got.
Bugs
Please report bugs in the comments below.
2 Comments
Comments RSS TrackBack Identifier URI
Leave a comment
When I activate the plugin it throws this error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/vhost/www/update.golod.com/wp-content/plugins/bsuite_btags/core.php on line 71
I poked around in there but did not see any syntax errors at first glance.
[...] Repeat that process with bsuite_btags. [...]