Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example code editor content for the WordPress block editor to personalize your Membership Account page with PMPro
<!-- wp:group {"align":"full","backgroundColor":"color-primary"} -->
<div class="wp-block-group alignfull has-color-primary-background-color has-background"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:shortcode -->
[pmpro_member field="avatar"]
<!-- /wp:shortcode -->
<!-- wp:heading {"textColor":"site-navigation-background"} -->
<h2 class="has-site-navigation-background-color has-text-color" id="h-welcome-pmpro-member-field-display-name">Welcome, [pmpro_member field="display_name"]</h2>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment