Title: Code Snippets Tags
Author: Shea Bunge
Published: <strong>2013 年 3 月 26 日</strong>
Last modified: 2015 年 9 月 5 日

---

搜索插件

![](https://ps.w.org/code-snippets-tags/assets/banner-772x250.png?rev=810709)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/code-snippets-tags_cbdbde.svg)

# Code Snippets Tags

 作者：[Shea Bunge](https://profiles.wordpress.org/bungeshea/)

[下载](https://downloads.wordpress.org/plugin/code-snippets-tags.zip)

 * [详情](https://cn.wordpress.org/plugins/code-snippets-tags/#description)
 * [评价](https://cn.wordpress.org/plugins/code-snippets-tags/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/code-snippets-tags/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/code-snippets-tags/#developers)

 [支持](https://wordpress.org/support/plugin/code-snippets-tags/)

## 描述

> In Code Snippets version 2.0 or later, tags functionality is built in and this
> plugin is redundant

Adds support to the Code Snippets WordPress plugin for adding tags to snippets. 
Requires [Code Snippets](https://wordpress.org/plugins/code-snippets) 1.8 or later.

You can assign tags to snippets using an interactive UI when editing or adding a
new snippet. Then, you can filter snippets by tag on the snippets table, or see 
what tags are assigned to a particular snippet with a glance at the new table column.
Tags are stored in your database and can be exported and imported along with the
other snippet data.

Contribute to the plugin development on [GitHub](https://github.com/sheabunge/code-snippets-tags).

## 屏幕截图

[⌊The tags column in the snippets table⌉⌊The tags column in the snippets table⌉[

The tags column in the snippets table

[⌊Filtering snippets based on tag⌉⌊Filtering snippets based on tag⌉[

Filtering snippets based on tag

[⌊Editing a snippet's tags⌉⌊Editing a snippet's tags⌉[

Editing a snippet’s tags

## 安装

This plugin extends the functionality of [Code Snippets](https://wordpress.org/plugins/code-snippets),
and requires Code Snippets version 1.8 or greater to be installed in order to work.

#### Automatic installation

 1. Log into your WordPress admin
 2. Click **Plugins**
 3. Click **Add New**
 4. Search for **Code Snippets Tags**
 5. Click **Install Now** under “Code Snippets Tags”
 6. Activate the plugin

#### Manual installation

 1. Download the plugin
 2. Extract the contents of the zip file
 3. Upload the contents of the zip file to the `wp-content/plugins/` folder of your
    WordPress installation
 4. Activate the “Code Snippets Tags” plugin from ‘Plugins’ page.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Code Snippets Tags」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Shea Bunge ](https://profiles.wordpress.org/bungeshea/)

[帮助将「Code Snippets Tags」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/code-snippets-tags)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/code-snippets-tags/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/code-snippets-tags/)，或通过[RSS](https://plugins.trac.wordpress.org/log/code-snippets-tags/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/code-snippets-tags/)。

## 更新日志

#### 1.2.1

 * Fixed an incorrect filter hook preventing snippet tags from saving

#### 1.2

 * Fixes for Code Snippets 1.8
 * Make sure plugin cannot be loaded with an older version of Code Snippets

#### 1.1

 * Tags are now stored in database as comma-separated values – no more serialized
   arrays!
 * Improved database table creation process (now requires Code Snippets 1.7.1)
 * Added German translation thanks to [David Decker](http://deckerweb.de/)
 * Make sure **nothing** is loaded before main Code Snippets plugin

#### 1.0

 * Added table column to snippets menu
 * Added tags field to single snippet menu
 * Added tag filter dropdown to snippets menu
 * Link tags in table column to relevant tag filter

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**11 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/code-snippets-tags/)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[code-snippets-plugin](https://cn.wordpress.org/plugins/tags/code-snippets-plugin/)
   [organization](https://cn.wordpress.org/plugins/tags/organization/)[tags](https://cn.wordpress.org/plugins/tags/tags/)
 *  [高级视图](https://cn.wordpress.org/plugins/code-snippets-tags/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/code-snippets-tags/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/code-snippets-tags/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/code-snippets-tags/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/code-snippets-tags/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/code-snippets-tags/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/code-snippets-tags/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/code-snippets-tags/reviews/)

## 贡献者

 *   [ Shea Bunge ](https://profiles.wordpress.org/bungeshea/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/code-snippets-tags/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://code-snippets.bungeshea.com/donate/)