Specific Files Specific Files

Specific Files

Created by: Daniel Imhoff

Rating:
Downloaded: 3k times

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.

See this plugin’s page on my website for information/comments/questions. I am open to the idea of suggestions and patches to this plugin! If you enjoyed this plugin, please donate or say thanks.

Todo:

  • Add a “remove references” button on the options page so people can remove file references without having to delete the file.

Screenshots

  • This is the plugin options page for Specific Files. It is used for uploading new files (you can also upload via FTP), viewing files, and deleting files.
  • The two meta boxes appear on the right side near the bottom. They use a multiple-selectable <code>&lt;select&gt;</code> element for easy selecting.
  • Advanced options include inserting inline CSS &amp; JS into the header of your page or post.
  • Advanced options also include the ability to include your CSS &amp; JS files from anywhere.

Categories

Get New Themes & Resources