Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Improve the "Generate Page" shortcode attributes for a better first experience. #178

Open
kimcoleman opened this issue Feb 27, 2025 · 0 comments

Comments

@kimcoleman
Copy link
Member

kimcoleman commented Feb 27, 2025

Let's consider adjusting the default page shortcode that gets inserted if sites use the "Generate Page" option on the Memberships > Settings > Pages screen.

https://github.com/strangerstudios/pmpro-member-directory/blob/dev/includes/admin.php#L37-L52

We can discuss what a strong default would be.

For profile, I propose:
[pmpro_member_profile elements="avatar|256;Membership,membership_name;Member Since,membership_startdate" show_search="false"]

For directory, I propose:
[pmpro_member_directory layout="3col" elements="avatar;display_name;membership_name"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant