Code

Custom JavaScript & CSS in Pages!

Custom JavaScript & CSS in Pages!

The Custom JavaScript & CSS in Pages! plugin allows you to add CSS, Javascript code directly in any post, page or custom post!

Note: The plugin, like WordPress, requires a minimum 5.5 PHP version.

LIVE DEMO

https://www.codecanyon.eu/wpjce/wp-admin/
user: demo
pass: demo

How to automatically update the plugin

To receive automatic updates just install and configure the Envato updater plugin: httpss://goo.gl/pkJS33 .The official guide that explains how to configure it can be found in the following link: httpss://envato.com/market-plugin .

How it works

The plugin allows you to embed CSS and Javascript code into any page (or just in the selected ones). It can be done through the Global code feature or directly by editing the page/post/custom post you need. Main features:
  1. Text editor with syntax highlighting
  2. Print the code inline or included an external file
  3. Print the code in the header or the footer
  4. Add as many codes as you want in any frontend page
  5. Keep your changes also when you change the theme

Global code

Through the main Custom JS & CSS you will be able to create Code objects by which you can define the:
  1. Custom Javascript/CSS code and where it has to be included (footer or header)
  2. External Javscript/CSS libraries that have to be included (footer or header>
  3. Visibility options: Optionally you can specify where have to be included and specify a visibility filter (by page, post, url, ...)

Pages, posts and custom posts!

Code can be included by directly editing any page, post or custom post (like WooCommerce products, BuddyPress, etc.). You will find the Custom JS & CSS metaboxes that allow you to embed the code you need!

SCREENSHOTS


Global code
WPJCE
Meta boxes added to pages
WPJCE
Meta boxes added to any custom post (Example: posts, woocommerce products, etc.)
WPJCE
= 1.8 - 24.09.18 =
* Prevente some cases in which 3rd party plugin and themes were generating some interference preventing the user to properly 
  load external js and css files

= 1.7 - 03.08.18 =
* Fixed an issue that prevent the "set featured image" to properly work

= 1.6 - 06.07.18 =
* Fixed an issue relative URL filter

= 1.5 - 06.07.18 =
* Minor bugfix

= 1.4 - 06.07.18 =
* Fixed an issue with page selector

= 1.3 - 05.07.18 =
* Minor bugfix

= 1.2 - 22.05.18 =
* Fixed an issue due to global code was not embedded on all pages

= 1.1 - 22.05.18 =
* Fixed an issue due to the menu was inaccessible

= 1.0 - 14.05.18 =
* First release
by
by
by
by
by
by