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 | |
//Masonry load scripts | |
function wpb_masonry_scripts_styles_alt() { | |
wp_enqueue_script ( 'masonry'); //jqueryless | |
} | |
add_action( 'wp_enqueue_scripts', 'wpb_masonry_scripts_styles_alt' ); | |
//Masonry Style javascript | |
function wpb_js_masonry() { ?> |
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 //<~ don't add in | |
// Declare WooCommerce support for your theme | |
add_theme_support( 'woocommerce' ); |
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
// Register 'videos' Post Type | |
if ( ! function_exists('jivedig_videos_post_type') ) { | |
function jivedig_videos_post_type() { | |
$labels = array( | |
'name' => _x( 'Videos', 'themename' ), | |
'singular_name' => _x( 'Video', 'themename' ), | |
'menu_name' => __( 'Videos', 'themename' ), | |
'parent_item_colon' => __( 'Parent Video:', 'themename' ), | |
'all_items' => __( 'All Videos', 'themename' ), | |
'view_item' => __( 'View Video', 'themename' ), |
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
// ------------------------------ 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 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 | |
add_action('genesis_before_post_title', 'sfws_homepage_teaser_image'); | |
/** | |
* Adds Images to Posts in Grid | |
* | |
* Takes the amount of posts and applies the right size image, whether it's a featured post or a grid block post. | |
* | |
* @category Grid Loop | |
* @author Jonathan Perez, SureFireWebServices <jperez@surefirewebservices.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 | |
/** | |
* Define color choices for a Genesis Child Theme | |
* and then set up a way for them to be changed from the | |
* front end in a theme demo. | |
* | |
* @author FAT Media <http://youneedfat.com> | |
* @copyright Copyright (c) 2013, FAT Media, LLC | |
* @license GPL-2.0+ | |
*/ |
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
/** Create portfolio custom post type */ | |
add_action( 'init', 'second_portfolio_post_type' ); | |
function second_portfolio_post_type() { | |
register_post_type( 'portfolio', | |
array( | |
'labels' => array( | |
'name' => __( 'Second Portfolio', 'minimum' ), | |
'singular_name' => __( 'Second Portfolio', 'minimum' ), | |
), | |
'exclude_from_search' => 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
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP_USER_AGENT} !^(FeedBurner|FeedValidator) [NC] | |
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/Bit51 [R=301,NC,L] |