该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

JS File Selector

描述

A simple WordPress plugin that allows users to select files Javascript and/or write Javascript functions to any single page or post

屏幕截图

  • Sample post page with Select Javascript files and/or write your Javascript functions metabox screenshot-1.jpg.

安装

This section describes how to install the plugin and get it working.

  1. Upload entire js-file-selector folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it, you’ll see a Select Javascript files and/or write your Javascript functions metabox on all add or edit posts/pages.

常见问题

How to include script functions in the footer

To include script functions in the footer, the theme should have the wp_footer() template tag in the appropriate place.

评价

此插件暂无评价。

贡献者及开发者

「JS File Selector」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「JS File Selector」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.3

  • Fixed bug with file paths on local servers with Windows os.
  • Solved a warning in debug mode.

1.0.2

  • Fixed a little error in the field select that showed the Javascript files of the root path in the wrong folders. This little error did not prejudice the functionality of the plugin.

1.0.1

  • Modified the central file to better manage call functions and styles plugin
  • Modified javascript functions to better support older versions of jQuery

1.0

  • Initial version