Open External link to a new tab

This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…

Custom Payment Icon

Register a custom payment icon to show on the checkout form.

Register Podcast Meta Fields

Automatically adds the 'Key Concepts', 'Referenced in this Episode', and 'Companion Post Link' input fields to…

Craig Carroll
<10

custom footer chatgpt css

/* Style the footer container */ #custom-footer { background-color: #fff; /* White background */ padding: 1px;…

WP Simple Pay: Custom Decimal Separator

Changes the decimal separator from a . (period) to a , (comma).

Completely Disable Comments

add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…

On Add to Cart Event in EDD

Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers. This also…

Disable The WP Admin Bar

Hide the WordPress Admin Bar for all users in the frontend.

Removing File Upload Fields from Notifications

This code snippet will remove the File Upload fields from Notifications when File Access Restrictions are…

<10

Hide Cart Price Button

/** * Hide Price & Add to Cart for Non Logged in Users for Specific Products…

<10

MemberPress: Require Coupon at Checkout

Make the coupon field required at checkout.

Use Full Store Address in Ships From

add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…

1 … 59 60 61 62 63 … 244