Today, as I prepared to change the price of a membership on one of my MemberPress membership sites, I knew that there are several places on the site where the price of the membership was hard-coded. (For example, I’m, displaying a custom pricing table that doesn’t utilize MemberPress Groups Price Box. I also have a callout on the home page which displays the price of this membership — also hard-coded.)
A membership price shortcode would eliminate the need to manually update all those places. However, although MemberPress has lots of shortcodes for content restriction, it doesn’t have one for displaying the price of a membership.
So I created one.