跳到内容

MultiTags

v0.6

Stefan · 2010年9月13日 上架

Display correct tags when calling a tag-page with more than one tag.

正在使用
10+
评分
5.0 / 5
累计下载
3,698
最近更新
2015年1月28日
1 条评价需要 WordPress 2.8+已测试到 4.1.42

贡献者

截图

The usual display without MultiTags-plugin without_multitags.png
The usual display without MultiTags-plugin without_multitags.png
Better title, heading on multiple tags with the MultiTags-plugin with_multitags.png
Better title, heading on multiple tags with the MultiTags-plugin with_multitags.png
Settings provided, choose if you want to add keywords/description in head-meta-tag of your tag-pages settings.png
Settings provided, choose if you want to add keywords/description in head-meta-tag of your tag-pages settings.png
Wordpress now provides the correct multiple-tag-feed
Wordpress now provides the correct multiple-tag-feed

Ever noticed that on tag-pages multiple tags are possible? E.g. if you want to show all
posts having “tag1” AND “tag2”, just go to
http://yourwordpressblog/tag/tag1+tag2

But only “tag1” is correctly displayed (see screenshots).
With this plugin you can use more than one tag correctly. This is especially interesting if
you want to optimize some key phrases (like “tag1 tag2”) for searchengines.

Moreover this plugin can add the description of the tags to your tag-pages, simply put

<?php echo multi_tags_get_description('<p>', '</p>'); ?>

into your theme-file “tag.php”.
To display the correct tags, just replace the call to

single_tag_title( '', false ) 

with

if (function_exists('multi_tags_get_title'))
    echo multi_tags_get_title('and', 'or')
else
    single_tag_title( '', false )

The inclusion of your tags into “meta keywords” resp. the inclusion of the tag-descriptions
in “meta description” is done by the plugin.
Simply check the corresponding checkboxes in the MultiTags-setting-page.

For more examples and background information have a look at:

http://www.vogel-nest.de/wp_multitags_plugin

Thanks

To Frank Bueltge http://bueltge.de for motivation and checking the first draft.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums