This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php /* | |
| Plugin Name: Boilerplate Widget | |
| Description: Starting point for building widgets quickly and easier | |
| Version: 1.0 | |
| Author: Eddie Moya | |
| /** | |
| * IMPORTANT: Change the class name for each widget | |
| */ | |
| class Boilerplate_Widget extends WP_Widget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| doctype html | |
| html(lang='en') | |
| head | |
| meta(charset='UTF-8') | |
| title earning | |
| style. | |
| body { | |
| font-family: sans-serif; | |
| color: #333333; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading | |
| # slashes. | |
| # If your page resides at | |
| # http://www.example.com/mypage/test1 | |
| # then use | |
| # RewriteBase /mypage/test1/ | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| #PLUGIN FRONT-END MANAGEMENT | |
| class hslider_frontend{ | |
| #CONSTRUCT | |
| public function __constuct(){ | |
| } | |
| #IMPLEMENT SHORTCODE LISTENER |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| #PLUGIN CONFIG | |
| class hslider_setup{ | |
| #CLASS VARS | |
| private $capability = 'publish_posts'; | |
| private $plugin_name; | |
| private $plugin_friendly_name; | |
| private $plugin_version; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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; |
NewerOlder