Show Admin Bar
The code below shows the admin bar for logged in users who do not have these…
Export Categories and Tags
Export Categories and Tags
Move Jump to Recipe above featured image
/** * Ensures the "Jump to Recipe" button is added to the content really late. */…
Hide Admins from being tracked
Adds a function that will allow you to properly add all your tracking scripts and stop…
Show 'NEW' Badges for Recently Added Items in WooCommerce
This code snippet adds a “NEW!” badge to products in WooCommerce, indicating that they are newly…
Load Template Files In Admin
Load Charitable template files in the admin area.
Add Donation Receipt Opt Out Checkbox
In this function we register a new donation field with a key of `receipt_opt_out`. If the…
On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…
MemberPress: Set Default Country on Registration Page
This code will help set specified country as default country for the Country field on MemberPress…
Blog filter
Add a filter for blogs
Convert Customers to Users
Adds a tool to create user accounts for customers that don't already have them, and update…
WP Simple Pay: Use Payment Form Description as Payment Description
Always use the payment form's "Description" as the Stripe payment description. By default WP Simple Pay…
Copyright Year Shortcode
Add shortcode to automatically update the copyright year. [year]
Ensure Webfont is Loaded (Elementor)
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Remove the Page Title from the Page Header
The following code can be used to remove the title from the page header title area…