This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sale Type: Paid Memberships Pro | |
* Sale Template: Neon | |
*/ | |
// Pre-Sale Content: | |
<h4>Get ready for the most lit-up sale ever.</h4> | |
<h1>The Illuminated Sale Coming Soon!</h1> | |
<p><a href="#">Learn More</a></p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sale Type: Paid Memberships Pro | |
* Sale Template: Gradient | |
*/ | |
// Pre-Sale Content: | |
<h1>The Smooth Sale is Almost Here!</h1> | |
<h4>The wait is almost over. Sale starting October 5014!</h4> | |
<p><a href="#">Learn More</a></p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sale Type: Paid Memberships Pro | |
* Sale Template: Fancy Coupon | |
*/ | |
// Pre-Sale Content: | |
<h1>Sale Coming Soon!</h1> | |
<h4>Get ready for the best sale ever. Coming January 2230!</h4> | |
<p><a href="#">Learn More</a></p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom Dimensions for Membership Level with the plugin GA Google Analytics by Jeff Starr | |
* https://wordpress.org/plugins/ga-google-analytics/ | |
* | |
* You must create the custom dimension for Membership Level in your Google Analytics account | |
* and properly update that line in this recipe for the ID of your dimension. | |
* | |
*/ | |
function custom_dimensions_membership_level( $custom_code ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom Dimensions for Google Analytics. | |
* For the plugin GA Google Analytics for Jeff Starr | |
* https://wordpress.org/plugins/ga-google-analytics/ | |
* | |
* You must create the four custom dimensions in Analytics and map them exactly as follows: | |
** post_type = dimension1 | |
** post_author = dimension2 | |
** post_category = dimension3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Adds Billing Address and Shipping Address (via the Shipping Add On) to the Edit User profile, | |
* frontend Member Profile Edit, and the 'Add Member' page in the WordPress admin. | |
* | |
* 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. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/membership-account* | |
/membership-checkout* | |
/membership-levels* | |
/login/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Redirect members of level ID 1 to the CPT with ID '232' on login. | |
* | |
* 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. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Set the member homepage for members of Level 3 to the post ID 232. | |
* | |
* 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. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Add nickname to the Member Profile Edit frontend page. | |
* | |
* 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. | |
* https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/ | |
* | |
*/ |