Skip to content

Instantly share code, notes, and snippets.

View raidenz's full-sized avatar

raidenz raidenz

View GitHub Profile
@raidenz
raidenz / gist:5810cd7760995d464f61
Created February 4, 2015 16:51
frontend.class.php
<?php
#PLUGIN FRONT-END MANAGEMENT
class hslider_frontend{
#CONSTRUCT
public function __constuct(){
}
#IMPLEMENT SHORTCODE LISTENER
@raidenz
raidenz / gist:ba30c7366d1209ad8e80
Created February 4, 2015 16:50
plugin_setup.class.php
<?php
#PLUGIN CONFIG
class hslider_setup{
#CLASS VARS
private $capability = 'publish_posts';
private $plugin_name;
private $plugin_friendly_name;
private $plugin_version;
@raidenz
raidenz / gist:37caeaba8c778df2aedf
Created February 4, 2015 16:49
shortcode.class.php
<?php
#PLUGIN SHORTCODE MANAGEMENT
class hslider_shortcodes{
#CLASS VARS
private $shortcode; //plugin shortcode is the same as the plugin name
private $plugin_dir;
private $plugin_url;
private $display;