increase max file size

a snippet to increase max file size to allow WP staging pro upload

Paid Memberships Pro with WC Vendors

// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…

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…

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…

Custom WooCommerce Status

This is how to create a custom Woocommerce Status while being able to use the "Mark…

Add Rel Nofollow to Top Bar Social Links

We don't recommend it but if you want to add a nofollow attribute to your top…

Remove "p" tags Contact Form 7

Remove tags from the forms in the frontend

WordPress Post Views Counter Function

function wpb_set_post_views($postID) { $count_key = 'wpb_post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID,…

1 … 55 56 57 58 59 … 243