View pattern.html
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
<!-- wp:cover {"url":"https://jameskoster.design/wp-content/uploads/2021/06/image-from-rawpixel-id-3064488-jpeg.jpg","id":507,"hasParallax":true,"dimRatio":70,"overlayColor":"primary","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"10vw","right":"10vw","bottom":"10vw","left":"10vw"}}}} --> | |
<div class="wp-block-cover alignfull has-background-dim-70 has-primary-background-color has-background-dim has-parallax" style="padding-top:10vw;padding-right:10vw;padding-bottom:10vw;padding-left:10vw;background-image:url(https://jameskoster.design/wp-content/uploads/2021/06/image-from-rawpixel-id-3064488-jpeg.jpg)"><div class="wp-block-cover__inner-container"><!-- wp:columns {"verticalAlignment":"top","align":"full"} --> | |
<div class="wp-block-columns alignfull are-vertically-aligned-top"><!-- wp:column {"verticalAlignment":"top","width":"72%","style":{"spacing":{"padding":{"right":"4vw","top":"0vw","bottom":"0vw","left":"0vw"}}}} --> | |
<div class="wp-block-column is-vertically-aligned-t |
View gist:26e80446bcc5b4e101cc8607af86aee1
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
Dec 14 06:49:43 vvv postfix/pickup[17603]: 5A3B660ACC: uid=0 from=<root> | |
Dec 14 06:49:43 vvv postfix/cleanup[18638]: 5A3B660ACC: message-id=<20171214064943.5A3B660ACC@vvv> | |
Dec 14 06:49:43 vvv postfix/qmgr[1305]: 5A3B660ACC: from=<root@vvv>, size=894, nrcpt=1 (queue active) | |
Dec 14 06:49:43 vvv postfix/local[18640]: 5A3B660ACC: to=<root@vvv>, orig_to=<root>, relay=local, delay=0.03, delays=0.02/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) | |
Dec 14 06:49:43 vvv postfix/qmgr[1305]: 5A3B660ACC: removed | |
Dec 14 07:09:01 vvv CRON[18665]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) | |
Dec 14 07:09:01 vvv CRON[18666]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)) | |
Dec 14 07:17:01 vvv CRON[18730]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) | |
Dec 14 07:39:01 vvv CRON[18872]: (root) CMD ( [ -x |
View functions.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
add_action( 'wp_enqueue_scripts', 'jk_disable_magnification' ); | |
function jk_disable_magnification() { | |
wp_dequeue_script( 'zoom' ); | |
} |
View functions.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
add_filter( 'bookshop_author_attribute', 'jk_new_author_attribute' ); | |
function jk_new_author_attribute( $attribute ) { | |
$attribute = 'pa_newattribute'; | |
return $attribute; | |
} |
View storefront-logo-size-adjust-example.css
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) { | |
.site-header .site-branding, .site-header .site-logo-anchor, .site-header .site-logo-link, .site-header .custom-logo-link { | |
width: 21%; /* Adjust this percentage up or down to make the logo larger or smaller. */ | |
} | |
} |
View functions.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
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 ); | |
} |
View style.css
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-handheld-footer-bar ul li.home > a:before { | |
content: "\f015"; | |
} |
View functions.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
add_filter( 'storefront_handheld_footer_bar_links', 'jk_add_home_link' ); | |
function jk_add_home_link( $links ) { | |
$new_links = array( | |
'home' => array( | |
'priority' => 10, | |
'callback' => 'jk_home_link', | |
), | |
); | |
$links = array_merge( $new_links, $links ); |
View functions.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
add_filter( 'storefront_handheld_footer_bar_links', 'jk_remove_handheld_footer_links' ); | |
function jk_remove_handheld_footer_links( $links ) { | |
unset( $links['my-account'] ); | |
unset( $links['search'] ); | |
unset( $links['cart'] ); | |
return $links; | |
} |
View functions.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
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 ); | |
} |
NewerOlder