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 | |
//* Add support for structural wraps | |
add_theme_support( 'genesis-structural-wraps', array( | |
'header', | |
'nav', | |
'subnav', | |
'inner', | |
'footer-widgets', | |
'footer' |
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 | |
/** | |
* Functions | |
* @package The Stiz Media | |
* @author JiveDig <mike@thestizmedia.com> | |
* @copyright Copyright (c) 2013, The Stiz | |
*/ | |
// Start the engine | |
require_once( get_template_directory() . '/lib/init.php' ); |
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
// Change labels to "Tracks" | |
add_filter('edd_download_labels', 'set_download_labels'); | |
function set_download_labels($labels) { | |
$labels = array( | |
'name' => _x('Tracks', 'post type general name', 'your-domain'), | |
'singular_name' => _x('Track', 'post type singular name', 'your-domain'), | |
'add_new' => __('Add New', 'your-domain'), | |
'add_new_item' => __('Add New Track', 'your-domain'), | |
'edit_item' => __('Edit Track', 'your-domain'), | |
'new_item' => __('New Track', 'your-domain'), |
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 | |
// Register 'Videos' Post Type | |
if ( ! function_exists('jivedig_videos_post_type') ) { | |
function jivedig_videos_post_type() { | |
$labels = array( | |
'name' => _x( 'Videos', 'executive' ), | |
'singular_name' => _x( 'Video', 'executive' ), | |
'menu_name' => __( 'Videos', 'executive' ), | |
'parent_item_colon' => __( 'Parent Video:', 'executive' ), |
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 | |
/* | |
Plugin Name: CUSTOM - Website Title | |
Plugin URI: http://thestizmedia.com | |
Description: All custom funtionality for www.Website_Title_Here.com | |
Version: 1.0 | |
Author: JiveDig | |
Author URI: http://thestizmedia.com | |
Copyright 2013 JiveDig (mike@thestizmedia.com) | |
*/ |
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
// ------------------------------ Video Categories | |
if ( ! function_exists('jivedig_video_category_taxonomy') ) { | |
// Register Custom Taxonomy | |
function jivedig_video_category_taxonomy() { | |
$labels = array( | |
'name' => 'Video Categories', | |
'singular_name' => 'Video Category', | |
'menu_name' => 'Video Categories', | |
'all_items' => 'All Video Categories', |
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
// ------------------------------ Video Tags | |
if ( ! function_exists('jivedig_video_tag_taxonomy') ) { | |
// Register Custom Taxonomy | |
function jivedig_video_tag_taxonomy() { | |
$labels = array( | |
'name' => 'Video Tags', | |
'singular_name' => 'Video Tag', | |
'menu_name' => 'Video Tags', |
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 the site title | |
remove_action( 'genesis_site_title', 'genesis_seo_site_title' ); | |
// Remove the site description | |
remove_action( 'genesis_site_description', 'genesis_seo_site_description' ); |
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 titles from pages only | |
add_action('get_header', 'child_remove_page_titles'); | |
function child_remove_page_titles() { | |
$pages=array(); | |
if (is_page($pages)) { | |
remove_action('genesis_entry_header', 'genesis_do_post_title'); | |
} | |
} |
OlderNewer