With this plugin, you will be able to include certain CSS or JS files in only selected posts, pages, or other post types, instead of including them everywhere. You can also edit inline CSS & JS and include CSS & JS files from anywhere on specific posts and pages.
It places meta boxes in the WordPress post editor so it’s easy to select which files you want to include with the post you’re currently editing. This plugin works well for all websites, large and small, and it works well with WordPress multi-site (WordPress MU). Tested up to 3.1 beta 2.
- Add a “remove references” button on the options page so people can remove file references without having to delete the file.
- Will updating remove my CSS and JS files?
No. Only plugin core files will be overwritten.
- I deleted a file with my FTP client. Now I’m getting 404 errors in my server logs. What’s going on?
When you delete one of your CSS or JS files with your FTP client, the plugin won’t automatically remove all references to that file (in case you were simply deleting to reupload it again or some other case. It tries to preserve the calls to your files. In order to remove these calls, use the plugin’s options page. Using the delete button on the plugin’s options page will remove the file and all references to that file in your posts and pages.