View gist:26e80446bcc5b4e101cc8607af86aee1
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
add_action( 'wp_enqueue_scripts', 'jk_disable_magnification' ); | |
function jk_disable_magnification() { | |
wp_dequeue_script( 'zoom' ); | |
} |
View functions.php
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
@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
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
.storefront-handheld-footer-bar ul li.home > a:before { | |
content: "\f015"; | |
} |
View functions.php
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
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
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 functions.php
add_action( 'wp_enqueue_scripts', 'jk_disable_masonry', 999 ); | |
function jk_disable_masonry() { | |
wp_dequeue_script( 'masonry' ); | |
} |
NewerOlder