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
remove_action( 'genesis_header', 'genesis_do_header' ); | |
add_action( 'genesis_header', 'adam_genesis_do_header' ); | |
function adam_genesis_do_header() { | |
global $wp_registered_sidebars; | |
genesis_markup( array( | |
'html5' => '<div %s>', |
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 if ( get_option('evolution_display_recentwork_section') == 'on' ) { ?> | |
<div id="recent-work" class="clearfix"> | |
<div id="work-info"> | |
<h3><?php esc_html_e('Recent Work','Evolution'); ?></h3> | |
<p><?php echo get_option('evolution_homework_desc'); ?></p> | |
</div> <!-- end #work-info --> | |
<?php | |
$work_count = 0; | |
$recent_exlcats_work = get_option('evolution_exlcats_work'); |
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 | |
/* | |
Title: Adaptive Snow Sports | |
Post Type: e2s_adaptive | |
context: normal | |
priority: high | |
*/ | |
piklist('field', array( | |
'type' => 'text', |
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
add_filter('piklist_post_types', 'adaptive_post_type'); | |
function adaptive_post_type($post_types) | |
{ | |
$post_types['e2s_adaptive'] = array( | |
'labels' => piklist('post_type_labels', 'Adaptive Resource'), | |
'title' => __('Enter Custom Title'), | |
'public' => true, | |
'capability_type' => 'post', | |
'rewrite' => array( | |
'slug' => 'e2s_adaptive' |