The ColorMag Theme by ThemeGrill is a popular free theme available in the WordPress.org Themes Directory. This guide will help you make Paid Memberships Pro look better with the ColorMag theme.
Creating Compatibility for ColorMag and PMPro
Paid Memberships Pro includes a pmpro_element_class filter hook that theme authors and plugin developers can use to dynamically add CSS selectors to frontend pages of Paid Memberships Pro. In this recipe, we swap all uses of the
pmpro_btn selector with the ColorMag theme’s stylized
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.
This code recipe was written by our very own Jarryd Long.