Disable Posts Post Type

This snippet hides the default Posts post type from the WordPress admin

<10

Google Tag Manager Header

(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

Cathy White
<10

Customize Amount Raised Text

In this example, we change how the "X donated of Y goal" text appears.

Estimated reading time

// Estimated reading time function readTime ( $content = '', $words_per_minute = 250, $with_gutenberg = false…

MemberPress: Export Account Type in CSV

Add the following code to add a new CSV export option for Corporate Accounts that includes…

MemberPress: Add Address Column to Subscriptions Table

If the Address Fields option is enabled for the MemberPress registration forms at Dashboard > MemberPress…

Add Password Hint

Add standard WP password hint to checkout right below account creation fields.

Translate Products

Code required to translate the word "Products".

Let Google place ads for you

Add one piece of code to your site and Google will automatically show ads in all…

Re-route BuddyPress emails through WP Mail SMTP

This snippet will re-route all BuddyPress emails through WP Mail SMTP. This code snippet will also…

Change Login Form Arguments

The 'charitable_login_form_args' filter allows you to set the arguments that are passed to wp_login_form().

Change State To Province

Change the "State" field into a "Province" field.

user menu for logged in and logged out users

function my_wp_nav_menu_args( $args = '' ) { if( is_user_logged_in() ) { $args['menu'] = 'logged-in'; } else…

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…

Add Read More Link

Add a Read More link to the campaigns in the campaign grid.

1 44 45 46 47 48 232