Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

JS File Selector

Skildring

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

Skjermbilete

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

Installasjon

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.

Vanlege spm.

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.

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“JS File Selector” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

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