Include Custom Files

By Utkarsh Kukreti

10+ active installationsVersion 1.0

Enables embedding of multiple stylesheets and javascript files on a per-post basis.

Description

This plugin enables embedding of multiple stylesheets and javascript files on a per-post basis.

Multiple file names should be separated by a ‘,’. Extra whitespace after and before a ‘,’ are automatically ignored.

Relative paths to files are automatically prefixed by the /css or /js. These settings can be customized by editing values of the variables $css_folder and $js_folder in the plugin file.

Absolute paths are directly hotlinked.

Installation

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

  1. Upload ‘include-custom-files’ directory to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Screenshots

Changelog

1.0

  • First version.