A tagging class for wordpress
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README
class.tagliatelle.php

README

=== Tagliatelle ===
Contributors: ChristianBolstad 
Tags: dev, development, tags
Requires at least: 2.5
Tested up to: 3.1.3
Stable tag:

A PHP-class for easy tagging of wordpress objects.

== Installation ==

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

== Description ==

Load the plugin and use the class for easy tagging. If a referenced tag not already exist, it is created automagicly. 


 1. First of all, create a new Tagliatelle object: 

	 // Create a Tagliatelle object
	 $taggy = new Tagliatelle; 

 2. Use it to add or query data 

	 // Use it to tag the current post with the tag 'kers' 
	 $taggy->write_tags($post->ID,\'kers\');

	 // If you want to, you can pass a comma separated list with tags. 
	 $taggy->write_tags($post->ID,\'tag1, tag2, tag3\');

	 // It it of course possible to use / create tags in any taxonomy: 
	 $taggy->write_tags($post->ID,\'green, blue, red\','supercolortaxonmy');


== Changelog ==

1.0 Initial release<span style=\"white-space: pre;\"> </span>