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: Add a Custom Field To Manage Sub Account Table
This shortcode can be used if the MemberPress Corporate Accounts add-on is activated on the website.…
Prevent AIOSEO From Rewriting Term Title
This snippet can be used to prevent AIOSEO from rewriting term titles.
On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…
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 Campaign Status to Campaign Shortcode
This inserts the campaign status ('active', 'successful') to the [campaigns] shortcode. https://www.wpcharitable.com/documentation/the-campaigns-shortcode/
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(…
product attributes on hover
a snippet to show product attributes in product archive grid layout
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…
MemberPress: Add Custom Field to Transactions Table
This code snippet will add data collected through a custom field on MemberPress registration forms to…