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', 'jk_remove_storefront_handheld_footer_bar' ); | |
function jk_remove_storefront_handheld_footer_bar() { | |
remove_action( 'storefront_footer', 'storefront_handheld_footer_bar', 999 ); | |
} |
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( 'wp_enqueue_scripts', 'jk_disable_masonry', 999 ); | |
function jk_disable_masonry() { | |
wp_dequeue_script( 'masonry' ); | |
} |
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( 'wp_enqueue_scripts', 'jk_remove_sticky_checkout', 99 ); | |
function jk_remove_sticky_checkout() { | |
wp_dequeue_script( 'storefront-sticky-payment' ); | |
} |
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
.main-navigation ul li a:before { | |
display: none; | |
} |
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', 'jk_remove_homepage_categories', 99 ); | |
function jk_remove_homepage_categories() { | |
remove_action( 'storefront_page', 'outlet_homepage_navigation', 5 ); | |
remove_action( 'storefront_page', 'outlet_homepage_content_wrapper', 6 ); | |
remove_action( 'storefront_page', 'outlet_homepage_content_wrapper_close', 30 ); | |
} |
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
[storefront_reviews title="Look at these reviews!" columns="2" number="4" scope="specific-product" product_id="70" layout="style-2" carousel="1" gravatar="1"] |
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
a:focus, | |
.focus a { | |
outline: none !important; | |
} |
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( 'storefront_header', 'jk_storefront_header_content', 40 ); | |
function jk_storefront_header_content() { ?> | |
<div style="clear: both; text-align: right;"> | |
Have questions about our products? <em>Give us a call:</em> <strong>0800 123 456</strong> | |
</div> | |
<?php | |
} |
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
@media screen and (min-width: 768px) { | |
.jk-primary-navigation { | |
clear: both; | |
margin-left: -9999px; | |
margin-right: -9999px; | |
padding-left: 9999px; | |
padding-right: 9999px; | |
background-color: #000; | |
} | |
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( 'storefront_header', 'jk_primary_navigation_wrapper', 45 ); | |
add_action( 'storefront_header', 'jk_primary_navigation_wrapper_close', 65 ); | |
function jk_primary_navigation_wrapper() { | |
echo '<section class="jk-primary-navigation">'; | |
} | |
function jk_primary_navigation_wrapper_close() { | |
echo '</section>'; | |
} |