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 | |
function capsule_print_data2(){ | |
/* style dropdown */ | |
$settings = array(); | |
$style_formats = array( | |
array( | |
'title' => 'Code', | |
'inline' => 'code', | |
), |
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 | |
/* data to display */ | |
function capsule_print_data(){ | |
global $current_user; | |
# Metabox Order | |
$meta_box_order = get_user_meta( | |
wp_get_current_user()->ID | |
,sprintf( 'meta-box-order_%s', 'post' ) | |
,true |
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: Debug-ing | |
* Plugin URI: http://shellcreeper.com/ | |
* Description: just for debug on localhost. | |
* Version: 0.1.0 | |
* Author: David Chandra Purnama | |
* Author URI: http://shellcreeper.com/ | |
*/ |
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 | |
/* Prevent loading this file directly and/or if the class is already defined */ | |
if ( ! defined( 'ABSPATH' ) || class_exists( 'MYFX_Settings_Class' ) ) | |
return; | |
/** | |
* Settings with Meta Boxes | |
* Helper class to easily create settings page for plugin or theme with Meta Box API. | |
* |
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 | |
/** | |
* Handles the display and functionality of the theme settings page. This provides the needed hooks and | |
* meta box calls for developers to create any number of theme settings needed. This file is only loaded if | |
* the theme supports the 'hybrid-core-theme-settings' feature. | |
* | |
* Provides the ability for developers to add custom meta boxes to the theme settings page by using the | |
* add_meta_box() function. Developers should register their meta boxes on the 'add_meta_boxes' hook | |
* and register the meta box for 'appearance_page_theme-settings'. To validate/sanitize data from | |
* custom settings, devs should use the 'sanitize_option_{$prefix}_theme_settings' filter hook. |
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: Unplugged Mobile Theme | |
Plugin URI: http://www.rachelbaker.me | |
Description: A plugin and theme for WordPress that automatically reformats your blog's content for optimized viewing on Apple's <a href="http://www.apple.com/unplugged/">unplugged</a> and <a href="http://www.apple.com/ipodtouch/">iPod touch</a>. | |
Author: Rachel Baker | |
Version: 0.1 | |
Author URI: http://www.rachelbaker.me | |
# Special thanks to Imthiaz Rafiq and the wp-pda Plugin (http://imthi.com/wp-pda/) which this plugin is derived from. |
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 | |
/* | |
* Genbu Table Of Content Shortcode | |
* use [gtoc] to generate shortcode | |
* | |
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without | |
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
* | |
* Based on (credit) : | |
* WP TOC by Brendon Boshell http://infinity-infinity.com/ |
NewerOlder