跳到内容

Specific Files

v1.3.2

dwieeb · 2010年12月11日 上架

This plugin allows you to include CSS or JS files in specific posts and pages.

正在使用
10+
评分
5.0 / 5
累计下载
4,296
最近更新
2014年7月13日
1 条评价需要 WordPress 3.0.0+已测试到 3.9.40

贡献者

截图

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.
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.
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 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.
Advanced options also include the ability to include your CSS & JS files from anywhere.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums