On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…
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…
MemberPress: Set Default Country on Registration Page
This code will help set specified country as default country for the Country field on MemberPress…
Copy Donation Receipt To Admin
Send the donation receipt to the site admin as well.
Add WooCommerce upsells below the add-to-cart button
// add upsells below add-to-cart button add_action( 'woocommerce_single_product_summary', 'woocommerce_upsell_display', 40 );
Add custom CSS in the Admin
Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…
Copyright Year Shortcode
Add shortcode to automatically update the copyright year. [year]
Explicit Fixed Width and Height
Explicit Fixed Width and Height for images
Move Jump to Recipe above featured image in Genesis
/** * Ensures the "Jump to Recipe" button is added above the featured image. */ add_action(…
MemberPress: Add Bio Info To Account Page
The code will add the field called Bio to the MemberPress Account Page using a classic…
Set a Custom Reply-To Email
This snippet will ensure all emails sent from your site have the same reply-to email address.…
Add Campaign Status to Campaign Shortcode
This inserts the campaign status ('active', 'successful') to the [campaigns] shortcode. https://www.wpcharitable.com/documentation/the-campaigns-shortcode/
Prevent AIOSEO From Rewriting Term Title
This snippet can be used to prevent AIOSEO from rewriting term titles.
Add Progress Bar Before Summary
Add a progress bar to the individual legacy campaign pages.
Allow JS Files Upload
Allowing to upload JS files into media folder for custom special integration such as booking search…