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
add_filter( 'genesis_pre_get_option_image_size', 'mycustom_cookd_change_recipe_index_image_size', 12 ); | |
function mycustom_cookd_change_recipe_index_image_size() { | |
return 'cookd-vertical'; | |
} |
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
add_action( 'wp_enqueue_scripts', 'my_custom_fonts_123' ); | |
function my_custom_fonts_123() { | |
wp_enqueue_style( | |
'custom-google-fonts', | |
'//fonts.googleapis.com/css?family=Raleway', | |
array(), | |
CHILD_THEME_VERSION | |
); | |
} |
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
/* convertkit form styling for the Cravings Pro theme */ | |
.ck_form { | |
background: #fbf2ea; | |
border-top: none; | |
border-bottom: none; | |
box-shadow: none; | |
color: #010101; | |
} | |
.ck_form .ck_form_content { |
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 before-entry widget area | |
genesis_register_sidebar( array( | |
'id' => 'before-entry', | |
'name' => __( 'Before Entry', 'your-theme-slug' ), | |
'description' => __( 'This is the before entry section.', 'your-theme-slug' ), | |
) ); | |
//* Hooks before-entry widget area to single posts | |
add_action( 'genesis_before_entry', 'sk_after_entry_widget', 9 ); | |
function sk_after_entry_widget() { |
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
.before-entry { | |
margin-bottom: 25px; | |
} |
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
/* | |
* Woocommerce styling removed from FoodiePro 4.0.0 due to low usage across all sites - saved 4 kb CSS | |
* We don't recommend for food blogs: https://feastdesignco.com/how-to/set-up-woocommerce-shop-genesis/ | |
* If you have woocommerce and need this, add it to your Appearances > Customize > Additional CSS tab | |
*/ | |
/* 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
/* | |
* Woocommerce styling removed from CookdPro 4.0.0 due to low usage across all sites - saved 4 kb CSS | |
* We don't recommend for food blogs: https://feastdesignco.com/how-to/set-up-woocommerce-shop-genesis/ | |
* If you have woocommerce and need this, add it to your Appearances > Customize > Additional CSS tab | |
*/ | |
/* WooCommerce | |
--------------------------------------------- */ |