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:
- Text editor with syntax highlighting
- Print the code inline or included an external file
- Print the code in the header or the footer
- Add as many codes as you want in any frontend page
- 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:
- Custom Javascript/CSS code and where it has to be included (footer or header)
- External Javscript/CSS libraries that have to be included (footer or header>
- 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 & CSSmetaboxes that allow you to embed the code you need!