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.
- Activate the plugin through the Plugins menu in WordPress.
- Upload your CSS files to
- Upload your JS files to
- 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.Colaboradores
Registro de cambios
- Adding es_ES translations
- Checking support for WordPress 3.5. All is well.
- Squashed bug: https://wordpress.org/support/topic/plugin-specific-files-using-quick-edit-deselects-all-specified-files-in-post?replies=1
- 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.
- Rearranged plugin options page/optomized user interface.
- Original release. (Not public).