MemberPress: Add Custom Message Before Payment Methods Section On Registration Pages
This snippet adds a custom message before the section showing available payment methods on MemberPress regisatrtion…
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 );
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.…
MemberPress: Set Default Country on Registration Page
This code will help set specified country as default country for the Country field on MemberPress…
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(…
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…
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 Donation Receipt Opt Out Checkbox
In this function we register a new donation field with a key of `receipt_opt_out`. If the…
product attributes on hover
a snippet to show product attributes in product archive grid layout