這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Insert Code by Angie Makes

外掛說明

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

螢幕擷圖

  • 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〉的開發相關工作。

參與者

將〈Insert Code by Angie Makes〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Version 1.2

  • rebranded

Version 1.1

  • removed static declaration on none static members

Version 1.0

  • Plugin released. Everything is new!