View gutenberg-style.css
.wp-block-embed figcaption { | |
margin-top: .5em; | |
color: #6c7781; | |
text-align: center; | |
font-size: 13px | |
} | |
.editor-block-list__block[data-type="core/embed"][data-align=left] .editor-block-list__block-edit, | |
.editor-block-list__block[data-type="core/embed"][data-align=right] .editor-block-list__block-edit, | |
.wp-block-embed.alignleft, |
View comment-notes-before.php
<?php //remove this line | |
add_filter( 'comment_form_defaults', 'cd_pre_comment_text' ); | |
/** | |
* Change the text output that appears before the comment form | |
* Note: Logged in user will not see this text. | |
* | |
* @author Carrie Dils <http://www.carriedils.com> | |
* @uses comment_notes_before <http://codex.wordpress.org/Function_Reference/comment_form> | |
* |
View plugin-name.php
<?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 ) { |
View archive-testimonials.php
<?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 |
View editor-style.php
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() ); |
View change-style-load-order.php
<?php //Remove this line | |
/** | |
* Remove Genesis child theme style sheet | |
* @uses genesis_meta <genesis/lib/css/load-styles.php> | |
*/ | |
remove_action( 'genesis_meta', 'genesis_load_stylesheet' ); | |
/** | |
* Enqueue Genesis child theme style sheet at higher priority |
View embed-form.php
<?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 |
View landing-page-template.php
<?php | |
/** | |
* This file adds the Landing template to the eleven40 Pro Theme. | |
* | |
* @author StudioPress | |
* @package Generate | |
* @subpackage Customizations | |
*/ | |
/* |
View colors.css
/* Blue/Green | |
--------------------------------------------- */ | |
.wap-blue .home-listings { | |
background-color: #e6e6e6; | |
} | |
.wap-blue .wap-community.entry img { | |
border: 10px solid #3d4d6d; | |
} |
View archive-testimonials.php
<?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_loop' ); // Add custom loop |
NewerOlder