SuperSlider-Perpost-Code

Write css and javascript code directly on your post edit screen on a per post basis. Meta boxes provide an easy way to enter custom code to each post.

Author:Daiv Mowbray (profile at wordpress.org)
WordPress version required:2.6
WordPress version tested:3.4.2
Plugin version:1.1
Added to WordPress repository:19-03-2012
Last updated:17-11-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://wordpress.org/extend/plugins/superslid...
Total downloads:2 711
Active installs:70+
plugin download
Click to start download

Write css and javascript code directly on your post edit screen on a per post basis. Meta boxes provide a quick and easy way to enter custom code to each post. It then loads the code into your frontend theme header if the post has custom code. You may also display your custom code directly into your post with the custom_css or custom_js shortcode.

Features

  • easy use meta boxes for entering custom css and javascript
  • Only loads custom code for the specific post or page.
  • Customize the appearence or functionality of each page or post.
  • Stores the css and javascript codes into the postmeta table with hidden meta_keys.
  • All entered css will be active on this post.
  • All entered javascript will be active on this post.
  • Short code to display your custom code directly into the post.

The following options are available:

  • Show custom Css metabox on edit screens or turn it off.
  • Show custom Javascript metabox on edit screens or turn it off.
  • Set the minimum user level to be able to use the custom meta boxes.

Plugin integration

  • Automatically works well with Prettify GC Syntax Highlighter plugin. Good for front side syntax highlighting. loads 42k in 2 different js and css, loads for all pages, regardless of post having code.
  • Automatically works well with Google Syntax Highlighter for WordPress plugin. This plugin loads 44 k. in 14 different js and css files, though it is easy enough to prevent loading all of the js files,

Caveats - automatic syntax coloring

The following plugins will still work as expected, but useing the superslider-perpost-code shortcode will not be automatically colored. You will still need to use the code highlighter plugin as instructed. Which typically relies on a shortcode wrapped around your code in the post.

If you use a specific syntax highlighter and would like it to work nice with the SuperSlider-Perpost-Code plugin let me know.

Upgrade Notice

  • There are no special instructions for upgrading
  • deactivation of the plugin will not erase your custom code from the data base.