Title: Insert Code by Angie Makes
Author: Chris Baldelomar
Published: <strong>2014 年 5 月 17 日</strong>
Last modified: 2017 年 5 月 10 日

---

搜索插件

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

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

# Insert Code by Angie Makes

 作者：[Chris Baldelomar](https://profiles.wordpress.org/cbaldelomar/)

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

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

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

## 描述

This plugin makes it easy for you to add custom scripts to the head and footer sections
of your site. A theme can also add theme support to enable the insert of custom 
code (HTML, Javascript, and CSS) at the top of a page, above header, below header,
above content, and below content.

[Live Demo & Documentation](http://hallie.angiemakes.com/ad-spots/)

## 屏幕截图

 * [[
 * Insert Code

## 安装

 1. Uzip the `wpc-insert-code.zip` folder.
 2. Upload the `wpc-insert-code` folder to your `/wp-content/plugins` directory.
 3. In your WordPress dashboard, head over to the _Plugins_ section.
 4. Activate _WP Canvas – Insert Codes_.

## 常见问题

  Installation Instructions

 1. Uzip the `wpc-insert-code.zip` folder.
 2. Upload the `wpc-insert-code` folder to your `/wp-content/plugins` directory.
 3. In your WordPress dashboard, head over to the _Plugins_ section.
 4. Activate _WP Canvas – Insert Codes_.

  How do I add theme support

// Enable support for custom code to be inserted on various sections of theme
 add_theme_support(‘
wpc-insert-code’, array( ‘top-of-page’, ‘above-header’, ‘below-header’, ‘above-content’,‘
below-content’ ) );

    ```
    <!-- add lines of code in the appropriate section of your theme -->
    <?php do_action( 'wpc_insert_code_top_of_page' ); ?>
    <?php do_action( 'wpc_insert_code_above_header' ); ?>
    <?php do_action( 'wpc_insert_code_below_header' ); ?>
    <?php do_action( 'wpc_insert_code_above_content' ); ?>
    <?php do_action( 'wpc_insert_code_below_content' ); ?>
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

「Insert Code by Angie Makes」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Chris Baldelomar ](https://profiles.wordpress.org/cbaldelomar/)

[帮助将「Insert Code by Angie Makes」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wpc-insert-code)

### 对开发感兴趣吗?

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

## 更新日志

### Version 1.2

 * rebranded

### Version 1.1

 * removed static declaration on none static members

### Version 1.0

 * Plugin released. Everything is new!

## 额外信息

 *  版本 **1.2**
 *  最后更新：**9 年前**
 *  活跃安装数量 **900+**
 *  WordPress 版本 ** 3.9.1 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wpc-insert-code/)
 * 标签
 * [html](https://cn.wordpress.org/plugins/tags/html/)[insert HTML](https://cn.wordpress.org/plugins/tags/insert-html/)
   [insert javascript](https://cn.wordpress.org/plugins/tags/insert-javascript/)
   [insert js](https://cn.wordpress.org/plugins/tags/insert-js/)
 *  [高级视图](https://cn.wordpress.org/plugins/wpc-insert-code/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Chris Baldelomar ](https://profiles.wordpress.org/cbaldelomar/)

## 支持

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

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