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 | |
/** | |
* Gets an alternate template path for Genesis Custom Blocks. | |
* | |
* This is handy if you want to include GCB blocks in a plugin versus your theme. | |
* @param string $path The template path. | |
* @return string An alternate template path. | |
*/ | |
function ccb_get_alternate_template_path( $path ) { |
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 | |
/** | |
* Template Name: Testimonial Archives | |
* Description: Used as a page template to show page contents, followed by a loop through a CPT archive | |
*/ | |
remove_action ('genesis_loop', 'genesis_do_loop'); // Remove the standard loop | |
add_action( 'genesis_loop', 'custom_do_grid_loop' ); // Add custom loop |
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_action( 'init', 'cd_add_editor_styles' ); | |
/** | |
* Apply theme's stylesheet to the visual editor. | |
* | |
* @uses add_editor_style() Links a stylesheet to visual editor | |
* @uses get_stylesheet_uri() Returns URI of theme stylesheet | |
*/ | |
function cd_add_editor_styles() { | |
add_editor_style( get_stylesheet_uri() ); |
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 this line | |
/** | |
* Enqueue scripts for a specified Gravity Form (13 = ID) and then | |
* embed Gravity Form at the bottom of single property listings | |
* | |
* http://www.gravityhelp.com/documentation/page/Gform_enqueue_scripts | |
* http://www.gravityhelp.com/documentation/page/Embedding_A_Form#Function_Call | |
* | |
* @author Carrie Dils |
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 | |
/** | |
* This file adds the Landing template to the eleven40 Pro Theme. | |
* | |
* @author StudioPress | |
* @package Generate | |
* @subpackage Customizations | |
*/ | |
/* |
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
/* Blue/Green | |
--------------------------------------------- */ | |
.wap-blue .home-listings { | |
background-color: #e6e6e6; | |
} | |
.wap-blue .wap-community.entry img { | |
border: 10px solid #3d4d6d; | |
} |
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
/** | |
* bbPress specific CSS | |
* | |
* @package bbPress | |
* @subpackage Theme | |
*/ | |
/* =bbPress Style | |
-------------------------------------------------------------- */ |
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 //ditch this entire line | |
remove_action( 'genesis_header', 'genesis_do_header' ); | |
remove_action( 'genesis_header', 'brainfartin_do_header' ); | |
function brainfartin_do_header() { | |
global $wp_registered_sidebars; | |
genesis_markup( array( |
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 this line | |
add_filter( 'simple_social_default_profiles', 'biw_add_new_simple_icon' ); | |
/** | |
* Add Houzz icon to Simple Social Icons plugin. | |
* | |
* @param array $icons Social icons to include in widget options. | |
* | |
* @return array Updated icon set. | |
*/ |
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
<!-- | |
<thead> Groups the header content in a table | |
<th> Defines a header cell in a table | |
<tbody> Groups the body content in a table | |
<td> Defines a cell in a table | |
--> | |
<table> | |
<thead> |