Title: php snippet for theme designers
Author: 水野史土
Published: <strong>2011 年 2 月 27 日</strong>
Last modified: 2020 年 1 月 8 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/php-snippets-for-theme-designer.svg)

# php snippet for theme designers

 作者：[水野史土](https://profiles.wordpress.org/ounziw/)

[下载](https://downloads.wordpress.org/plugin/php-snippets-for-theme-designer.zip)

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

 [支持](https://wordpress.org/support/plugin/php-snippets-for-theme-designer/)

## 描述

This plugin diplays a is_page()/is_category()/is_tag() snippet for page/category/
tag list. You can go to the page/category/tag list in the admin area, and you can
copy one (and paste it to a theme file).

## 屏幕截图

 * [[
 * Page
 * [[
 * Category

## 安装

Copy the folder and files into your plugin directoy, and activate it.

## 评价

此插件暂无评价。

## 贡献者及开发者

「php snippet for theme designers」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ 水野史土 ](https://profiles.wordpress.org/ounziw/)

[帮助将「php snippet for theme designers」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/php-snippets-for-theme-designer)

### 对开发感兴趣吗?

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

## 更新日志

#### 5.0

supports child theme

#### 4.1

fixed bug. (same name on different folder)

#### 4.0

add wp_enqueue_script / wp_enqueue_style snippet

#### 3.2

add prefix for function name

#### 3.1

add category/tag link

#### 3.0

support custom post type

#### 2.0

add get_page_link

#### 1.0

New Release

## 额外信息

 *  版本 **5.0**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.7 或更高版本 **
 *  已测试的最高版本为 **5.3.21**
 *  语言
 * [English (US)](https://wordpress.org/plugins/php-snippets-for-theme-designer/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[category](https://cn.wordpress.org/plugins/tags/category/)
   [dashboard](https://cn.wordpress.org/plugins/tags/dashboard/)[php](https://cn.wordpress.org/plugins/tags/php/)
 *  [高级视图](https://cn.wordpress.org/plugins/php-snippets-for-theme-designer/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/php-snippets-for-theme-designer/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/php-snippets-for-theme-designer/reviews/)

## 贡献者

 *   [ 水野史土 ](https://profiles.wordpress.org/ounziw/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/php-snippets-for-theme-designer/)

## 捐助

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

 [ 捐助此插件 ](http://pledgie.com/campaigns/8706)