Title: PHP Code for posts
Author: Jamie
Published: <strong>2012 年 8 月 22 日</strong>
Last modified: 2017 年 3 月 13 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/php-code-for-posts_0d1022.svg)

# php-code-for-posts

 作者：[Jamie](https://profiles.wordpress.org/themissingcode/)

 * [详情](https://cn.wordpress.org/plugins/php-code-for-posts/#description)
 * [评价](https://cn.wordpress.org/plugins/php-code-for-posts/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/php-code-for-posts/#developers)

 [支持](https://wordpress.org/support/plugin/php-code-for-posts/)

## 描述

此插件已于 2017 年 4 月 7 日 关闭，无法下载。 原因：未知。

## 评价

![](https://secure.gravatar.com/avatar/c7939519a604c174789259ec632759809fc8fdafe5f148726d19abd7d3f0680c?
s=60&d=retro&r=g)

### 󠀁[Per Fraser Ad Astra](https://wordpress.org/support/topic/per-fraser-ad-astra/)󠁿

 [gordboy](https://profiles.wordpress.org/gordboy/) 2017 年 4 月 1 日

I inherited a site with php splattered all over, with many similar pages and lots
of repeated code. The php was in the pages and widgets and eval'd by a plugin. Now
I have beautiful refactored code, all out of the pages and widgets, and safely in
snippets. The mechanism for using $PHPPC for shared variables is nice too, and made
refactoring SO much easier. The facility to export and import snippets is nice too,
as I was able to try things out on my own server, then stick them up on the hosting,
with just a few clicks. Your plugin has saved the day. And you are a fellow Scot
too. We like that.

![](https://secure.gravatar.com/avatar/274afa4b1d27f55478217d29c2cd3710ef62b6e722f8c4aa3b0d2d82f7abf9e3?
s=60&d=retro&r=g)

### 󠀁[Great Plugin, Excellent Service](https://wordpress.org/support/topic/great-plugin-excellent-service-5/)󠁿

 [whiterhino_kev](https://profiles.wordpress.org/whiterhino_kev/) 2017 年 3 月 13
日

A small issue in the latest version of this plugin, which was caused by my old version
of php was solved within minutes of me notifying the author! Friendly and extremely
fast response and a quick solution makes what was already a great plugin even greater,
You can rely on it!

![](https://secure.gravatar.com/avatar/2794f3292f88da001ce9fbff63c2a3d23f856d8d8b855d8f73a95ddb124dfcce?
s=60&d=retro&r=g)

### 󠀁[Hacked the post after plugin activation](https://wordpress.org/support/topic/hacked-the-post-after-plugin-activation/)󠁿

 [awpt](https://profiles.wordpress.org/awpt/) 2017 年 2 月 7 日

Im very sorry but as I installed this plugin only the post which I have used with
the shortcode explained in your documentation some one edited my post with hacked
bla bla bla Your Plugin is insecure!

![](https://secure.gravatar.com/avatar/e14f038ded756dcb006e1f1603e42045c1c4fe08f46b7c0dca4f240a0485e63f?
s=60&d=retro&r=g)

### 󠀁[good plugin, bit…](https://wordpress.org/support/topic/good-plugin-bit/)󠁿

 [Anonymous User 357386](https://profiles.wordpress.org/anonymized-357386/) 2016
年 11 月 17 日

Please, add something to order by category (i've about 20snipper and ever time is
a problem to find one)!

![](https://secure.gravatar.com/avatar/bdaec69e7d85ae1d3fd66e314fe7e56703d763bee4cd998659782fc346d2dbf9?
s=60&d=retro&r=g)

### 󠀁[Great plugin and …some sugestions](https://wordpress.org/support/topic/great-plugin-and-some-sugestions/)󠁿

 [thierrySN](https://profiles.wordpress.org/thierrysn/) 2016 年 11 月 13 日

A very great plugin I’m doing a migration from PHP Snippets which has been abandoned
to your plugin. I’ve more than 150 snippets to migrate…it’s a very long job. So,
I’ve some suggestions : – Can you envisage to implement a functionality to import
snippet from a txt file (ie : files used by PHP Snippets for example) – Can you 
add a button on the interface like « save and add new » – Can you add a filter functionality(
my snippets are categorized…. so, it should be interesting to select a group of 
snippets) Thanks by advance if you cans take in consideration some of mu suggestion
but, anyway, thank for your good job Thierry

![](https://secure.gravatar.com/avatar/81af2f77484e9a6db3d9c846ecb93a1a332be76cc5cea1826acdae65459b631a?
s=60&d=retro&r=g)

### 󠀁[Good Plugin](https://wordpress.org/support/topic/good-plugin-315/)󠁿

 [immujune30](https://profiles.wordpress.org/immujune30/) 2016 年 9 月 21 日

Great Plugin. Works Smoothly.

 [ 阅读所有58条评价 ](https://wordpress.org/support/plugin/php-code-for-posts/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Jamie ](https://profiles.wordpress.org/themissingcode/)
 *   [ Jamie Fraser ](https://profiles.wordpress.org/thejfraser/)

[帮助将「PHP Code for posts」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/php-code-for-posts)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **2.2.2.1**
 *  最后更新：**9 年前**
 *  活跃安装数量 **N/A**
 *  WordPress 版本 ** 3.3.1 或更高版本 **
 *  已测试的最高版本为 **4.7.37**
 *  语言
 * [English (US)](https://wordpress.org/plugins/php-code-for-posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/php-code-for-posts/advanced/)