Plugin categories

Create a Website with AI
Insert JavaScript and CSS

Insert JavaScript and CSS

Adds fields to the post and page edit pages that allow you to insert custom JavaScript or CSS for that post or page.

4.1

Rating summary

10

Reviews

600

Active installations

Insert JavaScript and CSS
Insert JavaScript and CSS
Insert JavaScript and CSS

Overview

Compatibility

Installation instructions

Customer support & learning resources

Changelog

Main benefits

Add custom JavaScript

Add custom CSS

Per post/page customization

Easy to use interface

No global loading required

About this plugin

Author: Ryan
Version: 0.2
Last updated: 26-07-2012
WordPress version: 3.0
Tested up to: 3.4.2
PHP version required: false
Languages:

Overview

This WordPress plugin is designed to facilitate the addition of custom JavaScript or CSS to individual posts or pages. Once activated, it introduces a new icon on the post edit page, adjacent to the media addition icon. By clicking this icon, users can access a dedicated screen to input JavaScript and CSS code specific to that post. The JavaScript and CSS entered are added directly into the `` section of the web page, allowing for precise and customized enhancements without the need to load these scripts and styles on every page of the website. This targeted approach ensures streamlined performance and greater flexibility in web design and functionality.

Custom JavaScript and CSS per Post/Page

  • Easily add custom JavaScript or CSS to a single post or page.
  • Allows for specific customization without affecting the entire site.

User-Friendly Interface

  • A new icon is added to the post edit page for easy access.
  • Clicking the icon brings up a screen to insert JavaScript and CSS.

Efficient Code Management

  • JavaScript and CSS are inserted into the <head> section of the web page.
  • Avoids the need to load custom code on all pages, improving performance.

Enhanced Customization

  • Insert arbitrary JavaScript and CSS into any post or page.
  • Provides flexibility for unique styling and functionality on a per-post basis.

Rating and reviews

4.1

Rating summary

10

Reviews

600

Active installations

5
4
3
2
1

User sentiment analysis

Users appreciate this plugin's ability to easily insert CSS and JavaScript into specific posts or pages without the need for complex coding or manual file uploads. It is praised for its straightforward functionality and the convenience it offers. However, users have identified several drawbacks: the save button does not provide feedback, and there is a notable issue where JavaScript code sometimes disappears after saving, which requires re-insertion. Users also expressed a preference for separate functionalities for CSS and JavaScript, and suggested improvements in user interface visibility, particularly the icon placement for the custom CSS box. Despite these minor issues, the plugin is considered highly useful and effective.
Josh Davenport

Josh Davenport

20 Jun, 2014

This plugin is working even though it hasn’t been updated for a long time. Just bear in mind that when you save your changes from your post, the save button doesn’t actually give any feedback. After you have clicked save, click out of the lightbox and update the post. The changes will be saved and appear on the frontend. With that little UX issue resolved this plugin is worth 5 stars and it’s wonderfully simple for getting CSS/JS into specific posts/pages.
1webdude

1webdude

22 Apr, 2014

This is one handy plugin! With this you don’t need go through the hassle of creating, uploading & editing CSS or Javascript files. Great work! Thanks!!!
Diveling

Diveling

09 Dec, 2013

Hi. I want to insert javascript not on a single page but on all the pages. What changes do I need to make in the plugin code so that I can do that ? Thanks.
Penelope01

Penelope01

05 Dec, 2013

I wanted a simple way to make a java script work on a single page without messy coding. Worked first time!
pink378

pink378

12 Oct, 2013

I insert the Javascript code and the page seems to work fine for awhile, then the code disappears and I have to re-insert it and re-save. This has happened several times and is quite annoying. Do not use this plugin.

FAQ

Do I need to wrap in script or style tags?

What about archive pages?

Who can insert JavaScript or CSS

How do I add custom JavaScript or CSS to a post?

Where is the JavaScript or CSS inserted?

Can I insert JavaScript or CSS into any post or page?

What happens if there are conflicts with JavaScript or CSS?

Can I change the capability required to insert JavaScript or CSS?