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
<!-- This Image will pull out to the Left of the post content --> | |
<img class="pull-left" alt="Sample Image" src="http://demo.studiopress.com/parallax/files/2014/01/sample-1.jpg" /> | |
<!-- This Image will pull out to the right of the post content --> | |
<img class="pull-right" alt="Sample Image" src="http://demo.studiopress.com/parallax/files/2014/01/sample-2.jpg" /> |
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 WooCommerce Theme Support admin message | |
add_theme_support( 'woocommerce' ); |
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 | |
/** | |
* | |
* Modify the size of the Gravatar in the User Profile Widget | |
* | |
* @author Calvin Koepke | |
* @since 1.0.0 | |
*/ | |
add_filter( 'genesis_gravatar_sizes', 'ck_user_profile' ); | |
function ck_user_profile( $sizes ) { |
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 Continue Shopping Button on Cart Page | |
* Add to theme functions.php file or Code Snippets plugin | |
*/ | |
add_action( 'woocommerce_before_cart_table', 'woo_add_continue_shopping_button_to_cart' ); | |
function woo_add_continue_shopping_button_to_cart() { |
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_action( 'genesis_before_loop', 'genesis_do_author_box_archive', 15 ); | |
add_action( 'genesis_before_loop', 'sk_do_author_box_archive', 15 ); | |
/** | |
* Add author box to the top of author archive. | |
* | |
* If the headline and description are set to display the author box appears underneath them. | |
* | |
* @since 1.4.0 | |
* | |
* @uses genesis_author_box() Echo the author box and its contents. |
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
.gs-faq__question { | |
background: transparent; | |
border-bottom: 1px solid #eee; | |
color: #333; | |
padding-left: 0; | |
padding-right: 0; | |
} | |
.gs-faq__question:focus, | |
.gs-faq__question:hover { |
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( 'genesis_before_footer', 'my_custom_query' ); | |
function my_custom_query() { | |
$post_id = 956; | |
$queried_post = get_post($post_id); | |
echo $queried_post->post_content; | |
} |