Customizing Group Card
-
Hello – this is a great plugin!
I’m customizing the individual user cards on the group display page. I’ve been able to customize the group-tpl.php template to edit the display on the first page. BUT, the pagination calls the javascript file, which calls a function defined in a class (in class-profile-magic-request.php) – which means that once someone clicks through to page 2 and forward, the user cards default to the out-of-the-box display. This also happens on the search page.
I haven’t figured out how to change the class-defined functions.
I may be way overthinking this – my thought is to create a new function to replace ‘get_group_page_fields_html’ and then track through everywhere it’s used and rewrite that page, including adding in a new js file.
Is there a simpler way? My end goal for the cards:
– Replace the display name on the card with the user’s nickname
– Change the address display to just City/State, and
– Display a custom meta field with a link to the user’s email (not showing the email itself, but Email User)Thank you!!
- The topic ‘Customizing Group Card’ is closed to new replies.