Paid Memberships Pro gives you the flexibility to build the membership site that fits your specific needs and goals. Not only can you set up standard membership levels; you can also set up specific categories that customers can purchase for additional access.
About the Code Recipe
This code recipe sets up a user checkout field that adjusts the membership price so that members can purchase individual post categories.
For example, if you have a membership site for several different hobbies or interests, like cooking, baking and crafts, you likely have posts categories for each of these hobbies. With this code recipe, you will be able to make these categories available for purchase á la carte.
Plus, the adjusted price can apply to the initial payment, recurring payments, or both.
The Code Recipe
Adding the Recipe to Your Website
You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.
There are lots of places to modify this recipe for your own purposes, so please use caution when updating. If you have questions, please open a topic in the support area.
We have a similar tutorial on synchronizing a post category with the purchase of an Addon Package. Unlike that previous guide, this approach also allows your price-adjusting field to update the recurring membership price.
Free Course: Membership Site Development—The Basics
Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.