Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

Custom Script Integration

Опис

This plugin provides custom meta boxes in default Pages and Posts of wordpress where you can enter any scripts for each respective pages or posts, for example:

  1. Google Adwords conversion tracking
  2. Google Adsense ads
  3. Any Javascripts
  4. Page/post specific CSS codes
  5. Normal HTML codes
  6. Unlimited possibilites

You will get a meta box under each of page and post. The Meta box will have 4 Text Boxes, in each section you can add codes for:

  1. Before Content Field
  2. Below Content Field
  3. Scripts to add in tag
  4. Scripts to add in footer below tag

Plugin Documentation:
http://www.wpwox.com/wp-plugin/custom-script-integration/

Скріншоти

  • '/assets/screenshot-1.jpg'
  • '/assets/screenshot-2.jpg'

Встановлення

  1. There are two ways to install the plugin:
    a) Use the ‘automatic install from the WordPress plugin directory’ option in the
    WordPress admin panel. Search for “Custom Script Integration”
    OR
    b) Download the zip-file, and use the ‘upload’ option in the WordPress > admin panel > plugins > new plugin > upload plugin

  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Go to edit of any post or page, below the Content area should appear a ‘Custom Script Integration’ box. Simply enter your script in your required fields to execute theme in tag, before tag in footer, above or below contents.

Часті питання

Can I use css in the meta boxes?

Yes, you can use css to specific pages or posts. Please make sure you have your intitial tags and closing tags properly marked, for example:
<style<
.wrapper {
….
}
</style<

Does it support custom post types?

No, it does not support custom post types, only default page and posts. But you an checkout our site to ge the advance plugin of this which supports the custom post types too. http://www.wpwox.com

Відгуки

12.10.2016
Best plugin to integrate scripts in post. I have tried several plugins, but this is the best.
03.09.2016
I found it very useful for using the Facebook Conversion Tracker Code and Google Tracker Code for individual pages. Awesome.
Прочитати всі 5 відгуків

Учасники та розробники

“Custom Script Integration” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Custom Script Integration” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0

  • Initial release version

1.1

  • Some minor changes

2.0

  • Updated with custom script options to add scripts on head and body of all pages and posts