MemberPress: List the Member's Active Memberships
Adds a [wpide_mepr_memberships] shortcode that lists the logged-in member's active memberships by name, for welcome boxes and account pages.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Adds a [wpide_mepr_memberships] shortcode that lists the logged-in member's active memberships by name, for welcome boxes and account pages.
Lists your memberships with "Join" links right below the MemberPress unauthorized message, so visitors can upgrade without searching for the pricing page.
Redirects logged-in members who already own a membership away from that membership's sign-up page to their account page, avoiding accidental double purchases.
Sends logged-out visitors to the login page when they open entries or the archive of a chosen post type, and hides those entries from them in the REST API.
Adds a "Members only" box to the post and page editor; restricted content shows a login prompt to visitors and to roles you did not tick, and stays out of search and feeds for them.
Makes the subsites you list visible only to logged-in members of that site; everyone else is sent to the login page and non-members see a friendly notice.
Shows your own notice above the login form, for example to point customers to the shop account page or announce maintenance.
Adds the Meta Pixel base code to track page views for Facebook and Instagram ads.
Fires the Meta (Facebook) Pixel "Purchase" event with the order value, currency and product IDs on the order received page, once per order.
Sends Meta (Facebook) Pixel "ViewContent" on product pages and "AddToCart" when products are added, so you can build retargeting audiences and optimize ads.
Adds the Microsoft Advertising (Bing Ads) Universal Event Tracking tag to every public page for conversion tracking and remarketing.
Rejects a Gravity Forms date of birth that makes the person younger than the age you set, for age-restricted sign-ups and applications.
Rejects uploads to a chosen ACF image field when the picture is smaller than the width and height you need, such as for hero banners.
Requires message fields to contain a few real words, which stops one-word and empty-looking submissions and gives you enough detail to reply.
Requires the message field of Fluent Forms to contain at least a few words, so you get enough detail to answer and fewer junk submissions.
Requires WPForms paragraph fields to contain at least a few words, so you get enough detail to reply and fewer one-word junk messages.
Stops posts from being published with a featured image smaller than the size you set, such as 1200 by 630 pixels, so social previews and hero images never look blurry.
Rejects image uploads that are smaller or larger than the pixel sizes you set, so blurry thumbnails and oversized camera originals never reach the Media Library.
Restyles the WooCommerce shop grid into clean cards with rounded images, consistent spacing, aligned buttons and a hover effect.
Gives Contact Form 7 forms clean full-width fields, clear focus outlines, readable error messages and a solid submit button that work in light and dark themes.
Adds a switch that flips prices on your pricing page between monthly and yearly amounts, using simple data attributes on any element that shows a price.
Adds the new user's role, the page they signed up from, their IP address and a link to their profile to the "New user registration" email the admin receives.
Shows a different number of products on product search results than on normal shop pages, so shoppers see more matches at once.
When a visitor submits a form with missing or invalid fields, moves keyboard focus to the first problem field and announces the browser's error message to screen readers.