FREE WORDPRESS PLUGIN · BETA

Insert HTML, CSS and JavaScript in WordPress

Add targeted code without editing functions.php or your theme files.

What this plugin does

The code inserter organizes custom code into named rules. Each rule can target the whole site, selected content types or one page or post.

Test first: install beta plugins on a staging or disposable WordPress site before using them on a live website.

How to use it

1. Install and activate the plugin
2. Open Tools → Code Inserter and create a rule
3. Choose placement and targeting, then enable it

Frequently asked questions

How do I add custom code to WordPress?

Create a rule, paste code into the appropriate HTML, CSS or JavaScript editor, choose its placement and save it.

Do I need to edit my WordPress theme?

No. Rules are stored separately, so a theme update does not overwrite them.

Is JavaScript restricted?

Yes. Only administrators allowed to save unfiltered HTML can save JavaScript through this plugin.

Browse all WordPress plugins