Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Specific Files


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.


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


  • 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 <select> element for easy selecting.
  • Advanced options include inserting inline CSS & JS into the header of your page or post.
  • Advanced options also include the ability to include your CSS & JS files from anywhere.


  1. Upload /specific-files-for-posts-and-pages/ to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Upload your CSS files to /wp-content/specific-files/css/ directory.
  4. Upload your JS files to /wp-content/specific-files/js/ directory.
  5. Use the meta boxes in the WordPress post editor to select the CSS and JS files that you wish to include.


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.


No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Specific Files» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «Specific Files» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Adding es_ES translations


  • Checking support for WordPress 3.5. All is well.


  • Squashed bug:
  • Squashed bug: When CSS or JS meta boxes are hidden, they cleared out the files that were included in the post.


  • Added support for custom post types.
  • Added option to enable support for custom post types.
  • Added a few isset()’s to get rid of potential PHP notices.
  • Updated screenshot-1.jpg to show the updated options page.


  • Relocated CSS & JS file directory to /wp-content/specific-files/ for more stability.
  • Added option to hide CSS and/or JS meta box.


  • Added ability to include inline CSS & JS and CSS & JS files from anywhere on the internet.
  • Added ability to hide the new advanced options.
  • Improved security with a nonce and a few more current_user_can()’s.
  • Improved filename scrubber.
  • Updated screenshots.


  • Plugin works 100%
  • Removing crappy versions.


  • Attempting to add some backwards compatibility.


  • Added capability to preserve CSS & JS files on update.
  • Added function: copyr() for copying directories recursively.
  • Improved AJAX delete file reliability on options page.
  • Added settings page link on WordPress plugins admin page.
  • Added donate box on plugin options page.


  • Added support for JavaScript files.
  • Added meta box for JavaScript files.
  • Rearranged plugin options page/optomized user interface.


  • Original release. (Not public).