Skip to content

Instantly share code, notes, and snippets.

View bozzmedia's full-sized avatar

Bozz bozzmedia

View GitHub Profile
@bozzmedia
bozzmedia / wpdiscuz-scroll-offset.css
Created March 30, 2023 01:14
wpdiscuz anchor link scroll offset css
.wpd-comment-right {
scroll-margin-top: 100px;
}
/* hide woo additional information tab */
.woocommerce #content div.product .woocommerce-tabs li#tab-title-additional_information {
display: none;
}
/* hide woo related products price */
.woocommerce .product .related.products .price {
@bozzmedia
bozzmedia / gravity-forms-technical-info-meta
Last active September 20, 2022 22:12
Add technical information to Gravity Forms email notifications [append to your form notifications]
----------------------
Technical information
----------------------
IP: {ip}
User Agent: {user_agent}
Referrer: {referer}
User Display Name: {user:display_name}
User Email: {user:user_email}
User Login: {user:user_login}
Entry: # {entry_id}
@bozzmedia
bozzmedia / ob_flush_fix.php
Created October 30, 2018 03:23
Fix ob_flush zlib compression issues
// Fix ob_flush zlib compression issues
remove_action('shutdown', 'wp_ob_end_flush_all', 1);
@bozzmedia
bozzmedia / text-list-of-times.txt
Created October 30, 2018 03:21
Plain text list of times in 15 minute increments from 10am-10pm
10:00am
10:15am
10:30am
10:45am
11:00am
11:15am
11:30am
11:45am
12:00pm
12:15pm