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

Avatar functionality to membership card #56

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

andrewlimaza
Copy link
Collaborator

@andrewlimaza andrewlimaza commented Jun 10, 2024

  • ENHANCEMENT: Add the ability to show_avatar attribute to show the members avatar.

  • ENHANCEMENT: New filter added to give you even more control over the avatar settings - pmpro_membership_card_avatar_args (takes an array of values that passes through to the get_avatar function).

All Submissions:

Changes proposed in this Pull Request:

Resolves 19.

How to test the changes in this Pull Request:

  1. Try the shortcode [pmpro_membership_card show_avatar="true"]

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

* ENHANCEMENT: Add the ability to show_avatar attribute to show the members avatar.

* ENHANCEMENT: New filter added to give you even more control over the avatar settings - pmpro_membership_card_avatar_args (takes an array of values that passes through to the get_avatar function).
@andrewlimaza
Copy link
Collaborator Author

Example of the avatar showing. The filter gives you full control over what is passed to get_avatar to tweak it even further.

Screenshot 2024-06-10 at 15 25 34

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

Successfully merging this pull request may close these issues.

FEATURE REQUEST: Show a member's avatar on their membership card
1 participant