MemberPress: Assigning BuddyPress Member Type on Membership Signup
This code snippet assigns a specific BuddyPress member type when a user completes a signup in…
disable Google Fonts in Breakdance
disable Google Fonts in Breakdance
MemberPress: Display MemberPress Course Progress Using Shortcode
This shortcode displays a user's progress for a specific course in MemberPress. It outputs a styled…
Google Tag Manager - Head
(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= 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXXXXX'+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXXXXXX');
Submission Form Redirect
Filter the redirect URL for successful FES Submission Form submission
MemberPress: Remove all but one country from the drop-down
Removes all the countries for the drop-down list on the account and registration pages and leaves…
Disable WooCommerce widgets on vendor store pages
/** * Remove widgets from the vendor store and single product pages conditionally. * * You…
MemberPress: Return to Same Page After Signup
Return the user to the same page after they register.
MemberPress: ACF - Exclude Protected Posts From ACF Repeater Field
The code snippet ensures that protected MemberPress posts are excluded from custom queries used in Advanced…
Logout URL
This snippet creates a simple logout URL link that you can use as a shortcode.
aa
add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…
Insert Template at the Bottom of the Mobile Menu
The following snippet can be used to insert a custom template in the bottom region of…