This file contains 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 | |
error_reporting(E_ALL); | |
/* | |
Plugin Name: __pluginname__ | |
Plugin URI: http://orthogonalcreations.com | |
Description: __description__ | |
Author: Jon Breitenbucher | |
Author URI: http://orthogonalcreations.com | |
Version: __version__ |
This file contains 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 | |
/** | |
* Post Types | |
* | |
* This file registers any custom post types | |
* | |
* @package dorman-farrell | |
* @author The Pedestal Group <kathy@thepedestalgroup.com> | |
* @copyright Copyright (c) 2012, Dorman Farrell | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
This file contains 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
#HTML5 DOCTYPE | |
remove_action( 'genesis_doctype', 'genesis_do_doctype' ); | |
add_action( 'genesis_doctype', create_function( '', 'echo "<!DOCTYPE html><html><head>";' ) ); |
This file contains 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 | |
/** Remove the Genesis Featured Post widget */ | |
add_action( 'widgets_init', 'faculty_unregister_widgets' ); | |
function faculty_unregister_widgets() { | |
unregister_widget( 'Genesis_Featured_Post' ); | |
unregister_widget( 'Genesis_Featured_Page' ); | |
} | |
add_action('widgets_init', create_function('', "register_widget('Faculty_Featured_Post');")); | |
add_action('widgets_init', create_function('', "register_widget('Faculty_Featured_Page');")); |
This file contains 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
$styles = get_post_meta($post->ID, 'it_classroom_style_taxonomy',true) ; | |
echo $styles[0]; | |
$style = get_term_by( 'id', $styles[0], 'style' );//get_term($styles[0], 'style'); | |
print_r($style); | |
echo $style->name; |
NewerOlder