Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Image

In Page Script

Beskrivning

This plugin helps to add scripts into the header (before close tag </HEAD>) or the footer (before close tag </BODY>).

  • Add header/footer scripts for all pages
  • Add header/footer scripts for individual page
  • Add header/footer scripts for Order Received page (Woocommerce)
  • Allows filter to support custom post types

Although this plugin has been created to add these scripts only, there is no limit to add other things on the page such as META tags, STYLESHEET/CSS tags, HTML tags…

Skärmdumpar

  • Image
    Screenshot

Installation

  1. Download and unzip the plugin into your WordPress plugins directory (usually /wp-content/plugins/).
  2. Activate the plugin through the ’Plugins’ menu in your WordPress Admin.
  3. Edit pages to input the header/footer script. You can also input the script under Settings -> In Page Script.
  4. Support Woocommerce Order Received page.

Vanliga frågor

How to use this plugin for custom post types

You may want to use this filter from functions.php: ips_post_type

For ex:

add_action('init', 'init_ips_plugin');
function init_ips_plugin(){
    add_filter('ips_post_type', 'filter_ips_post_type');
}
function filter_ips_post_type($post_types){
    // replace custom_post_type with yours
    return array('page', 'custom_post_type');
}

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”In Page Script” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”In Page Script” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.1

  • Add header/footer scripts for all pages
  • Add header/footer scripts for individual page
  • Add header/footer scripts for Order Received page (Woocommerce)
  • Allows filter to support custom post types