Index by title

Admin features

Options Panel

You can activate / desactivate a most of Simple Tags features in one clic !

Mass Edit Tags

Do you have a not yet tagged blog ? Edit mass tags options is perfect for you : tag 20, 30 or 50 posts with autocompletion in one step ! You can filter by:

Tags autocompletion

To help you to add easily tags, Simple Tags has an autocompletion script. When you begin to tape a letter or more, a list a tags appears : you have only to choose !

You can choose the down direction to see all the tags.

Manage Tags

Simple Tags has a lot of features:

Suggested tags

Simple Tags has a suggestion list tags to save time. To realize this, it looks between your content and your tag database, and create clickable links to add easily the tags into the post.


Home

Purpose

Installation

Admin features

Theme integration

Since WordPress 2.3, WP has a built in native tag management. However it's limited and you need some plugins to exploit it.

Simple Tags is THE perfect tool to manage perfeclty your WP 2.3, 2.5, 2.6 and 2.7 tags It was written with this philosophy : best performances, more secured and brings a lot of NEW functions.


Installation

The Simple Tags can be installed in 3 easy steps:

1. Unzip "Simple tags" archive and put all files into your "plugins" folder (/wp-content/plugins/) or to create a sub directory into the plugins folder (recommanded), like /wp-content/plugins/simple-tags/
2. Activate the plugin
3. Inside the Wordpress admin, go to tags > tags options, adjust the parameters according to your needs, and save them.

Purpose

Features of Simple Tags plugin

WordPress 2.3 has a built in native tag management. However it's limited and you need some plugins to exploit it.

Simple Tags is THE perfect tool to manage perfeclty your WP 2.3 tags It was written with this philosophy : best performances, more secured and brings a lot of NEW functions.


Related Posts : st_related_posts()

Description and usage

With this functionnality, you can show related posts on your post. Is related posts which have at least one common tag.
If you don't wish to show related posts, but use them inside the loop, use st_get_related_posts() function.

Usage

<?php st_related_posts(); ?>

Default Usage

'number' => 5,
'order' => 'count-desc',
'format' => 'list',
'include_page' => 'true',
'exclude_posts' => '',
'exclude_tags' => '',
'post_id' => '',
'except_wrap' => '55',
'limit_days' => '0',
'title' => __('<h4>Related posts</h4>', 'simpletags'),
'nopoststext' => __('No related posts.', 'simpletags'),
'dateformat' => $this->dateformat,
'xformat' => __('<a href="%post_permalink%" title="%post_title% (%post_date%)">%post_title%</a> (%post_comment%)', 'simpletags')

Example

We want to show the first 10 related post without title, without pages and without comments count.

<?php st_related_posts('number=10&title=&include_page=false&xformat=<a href="%permalink%" title="%title% (%date%)">%title%</a>'); ?>

Parameters

number

(integer) Number of posts to show

order

(string) Order posts sorting. Valid values are :

format

(string) show tags as non ordered list UL/LI

include_page

(boolean) "true" to add pages, "false" only for posts

exclude_posts

(string) Separate posts ID to exclude with commas

exclude_tags

(string) Separate tags ID to exclude with commas

post_id

(integer) Specified post ID for display related posts

except_wrap

(integer) Words number for excerpt.

limit_days

(string) Limit result with a max days

title

(string) Specify the positioned title before the list

nopoststext

(string) Specify the text to show when there is no related post

dateformat

(string) Specify the date format. Same format as PHP date function

xformat

(string) Extended links format. Available Markups :

Related tags: st_related_tags()

This feature display a list of related tags into tag view. It allow to restrict tag search with an another tag. This function output a list only on tag view, else it display nothing.

If you don't wish to show related tags, but use them inside the loop, use st_get_related_tags() function.

Basic Usage

<?php st_related_tags(); ?>

Default Usage

'number' => 5,
'order' => 'count-desc',
'separator' => ' ',
'format' => 'list',
'method' => 'OR',
'title' => __('<h4>Related tags</h4>', 'simpletags'),
'notagstext' => __('No related tag found.', 'simpletags'),
'xformat' => __('<span>%tag_count%</span> <a href="%tag_link_add%">+</a> <a href="%tag_link%">%tag_name%</a>', 'simpletags')

Parameters

number

(integer) Number of posts to show

order

(string) Order posts sorting. Valid values are :

format

(string) output format

method

(string) Method of tags intersections and unions used to build related tags link:

title

(string) Specify the positioned title before the list

notagstext

(string) Specify the text to show when there is no related tags

xformat

(string) Extended links format. Available Markups :

Remove related tags: st_remove_related_tags()

This feature display a list of remove related tags into tag view. It allow to remove one tag from URL. This function output a list only on tag view, else it display nothing.
If you don't wish to show remove related tags, but use them inside the loop, use st_get_remove_related_tags() function.

Basic Usage

<?php st_remove_related_tags(); ?>

Default Usage

'separator' => ' ',
'format' => 'list',
'notagstext' => ' ',
'xformat' => __('&raquo; <a href="%tag_link_remove%" title="Remove %tag_name_attribute% from search">Remove %tag_name%</a>', 'simpletags')

Parameters

format

(string) output format

notagstext

(string) Specify the text to show when there is no related tags

xformat

(string) Extended links format. Available Markups :

Tags cloud: st_tag_cloud()

Description and usage

With this functionnality you can show a color tags cloud created dynamically. If you don't want to show it, but use it, use st_get_tag_cloud() function.
Introduction

<?php st_tag_cloud(); ?>

Default Usage

'size' => 'true',
'smallest' => 8,
'largest' => 22,
'unit' => 'pt',
'color' => 'true',
'maxcolor' => '#000000',
'mincolor' => '#CCCCCC',
'number' => 45,
'format' => 'flat',
'cloud_selection' => 'count-desc',
'cloud_sort' => 'random',
'exclude' => '',
'include' => '',
'limit_days' => 0,
'min_usage' => 0,
'notagstext' => __('No tags.', 'simpletags'),
'xformat' => __('<a href="%tag_link%" class="tag-link-%tag_id%" title="%tag_count% topics" %tag_rel% style="%tag_size% %tag_color%">%tag_name%</a>', 'simpletags'),
'title' => __('<h4>Tag Cloud</h4>', 'simpletags'),
'category' => 0

Example

We wish to display randomly the top 100 tags, the max width will be 45px, the min 12px. The color used for max tags will be red (#FF0000) and for min tags green (#00FF0B). At last, the title will be "Tags Cloud"

<?php st_tag_cloud('cloud_selection=count-desc&cloud_sort=random&number=100&title=Mon nuage de tags&largest=45&smallest=12&unit=px&maxcolor=#FF0000&mincolor=#00FF0B'); ?>

Parameters

size

(boolean) Active or not dynamic font size generation

smallest

(integer) Length of the font to use to show the less used tags

largest

(integer) Length of the font to use to show the most used tags

unit

(string) Measuring unit of the used font for smallest and largest parameters. Use pt for point

color

(boolean) Active or not dynamic color generation. true/false

maxcolor

(string) Used color for most popular tags

mincolor

(string) Used color for less popular tags

number

(integer) Number of tags to show inside the tags cloud (Use '0' to show all of them)

format

(string) Tag's format of posting

cloud_selection

(string) Tags selection order. Valid values are :

cloud_sort

(string) Tags selection order. Valid values are :

exclude

(string) list of tags to exclude, separated by commas (term_id). For example 'exclude=5,27' means all tags which contain term_id 5 or 27 will be NOT shown. By default, any tag is excluded.

include

(string) list of tags to include, separated by commas (term_id). For example 'exclude=5,27' means all tags which contain term_id 5 or 27 will be the alone tags to be shown. By default, all tags are included

limit_days

(integer) Number of days to be considered to generated tag cloud.

min_usage

(integer) Min number of tag counter for display it into tag cloud

notagstext

(string) Text to show, if there is no tag.

xformat

(string) Extended format of links. You can personalize the formating of tag's link. Available markups :

title

(string) Specify the positioned title shown before tags cloud

category

(string) Restrict tag cloud to a specifik category. (or more, separated with comma)

Current posts tags: st_the_tags()

Description and usage

This feature extend WordPress builtin function "the_tags()", you can specify tag format, text if no tags and post id, also outside the loop If you don't want to show it, but use it, use st_get_the_tags() function.

Introduction

<?php st_the_tags(); ?>

Default Usage

'before' => __('Tags: ', 'simpletags'),
'separator' => ', ',
'after' => '<br />',
'post_id' => '',
'xformat' => __('<a href="%tag_link%" title="%tag_name%" %tag_rel%>%tag_name%</a>', 'simpletags'),
'notagtext' => __('No tag for this post.', 'simpletags'),
'number' => 0

Parameters

before

(string) Text to display before the actual tags are displayed. Defaults to Tags:

separator

(string) Text or character to display between each tag link. The default is a comma (,) between each tag.

after

(string) Text to display after the last tag. The default is to display nothing.

post_id

(integer) Specified post ID for display tag posts (outside loop by example)

xformat

string) Extended format of links. You can personalize the formating of tag's link. Available markups :

notagtext

(string) Text to show, if there is no tag.

number

(integer) Limit tags output with this max number

Theme integration

Functions available for WordPress Themes

  1. st_related_posts() : Display an list of related posts (must be placed in WP Loop)
  2. st_tag_cloud() : Display a color (dynamic) tags cloud.
  3. st_the_tags() : Display current tags post.
  4. st_meta_keywords() : Display meta keywords, generated from tags. Use only on your header blog.
  5. st_related_tags() : Display an list of related tags, useful for tags navigation
  6. st_remove_related_tags() : Display the list of remove related tags from current view, useful for tags navigation