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…

<10

Remove Unused Javascript

Remove Unused Javascript – and improve your Page Speed Insight Score

Meta Pixel Code

Add Meta Pixel Code in WPCode

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

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…

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…

Blog filter

Add a filter for blogs

WP Simple Pay: Remove Card Terms

Removes auto-generated terms displayed under card fields.

Allow Manual Donations Without Email

Allow donors to be be added without an email address.

Replace Add to Cart With Download for Subscribers

If the user is recurring or has purchased the product already, shows a link to download…

WP Simple Pay: Custom Smart Tag

Register a custom Smart Tag with PHP, and control the output.

Remove Donor Count From Specific Campaign

Hide the campaign donor count from a specific campaign, using the campaign ID.

1 41 42 43 44 45 214