The code recipe below to creates a renewal button shortcode [pmpro_renew_button] that can be used to insert a “Renew Membership” button on your WordPress site….
I’ve been asked this simple question many times recently: “How do I display the current user’s membership level in my theme?”
This post details how to use the
[pmpro_member] shortcode, included in the main plugin, to show specific information about the current logged in user’s membership.
Jason just coded up a new shortcode feature for a support customer and we wanted to share it—hooray open source! It’s a little tricky to explain, but once you wrap your brain around the features, you’ll begin to think of interesting ways to apply it to your membership site.
The shortcode is primarily useful for sites that offer free trials and want to show (or hide) content to users who are on the trial vs. those that are full paying members.
If you want to use a Paid Memberships Pro shortcode in a widget, your theme must declare support for shortcodes in widget_text….