Defining Amazon SES Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

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 );

Copy Donation Receipt To Admin

Send the donation receipt to the site admin as well.

Add custom CSS in the Admin

Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…

<10

Copyright Year Shortcode

Add shortcode to automatically update the copyright year. [year]

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.

<10

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(…

<10

product attributes on hover

a snippet to show product attributes in product archive grid layout

Allow JS Files Upload

Allowing to upload JS files into media folder for custom special integration such as booking search…

Add Progress Bar Before Summary

Add a progress bar to the individual legacy campaign pages.

MemberPress: Manually Refresh Member Data

This code snippet is designed to manually refresh all members' data on a WordPress site. After…

Add Donation Receipt Opt Out Checkbox

In this function we register a new donation field with a key of `receipt_opt_out`. If the…

Blog filter

Add a filter for blogs

1 … 43 44 45 46 47 … 242