From 8c030d4410662ca093599ffa4bfde336ad43497f Mon Sep 17 00:00:00 2001 From: bengizmo Date: Sat, 24 May 2025 19:41:54 -0300 Subject: [PATCH] feat: Add attendee profile links throughout the plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary • Added hyperlinks to attendee names on Event Summary page • Added hyperlinks to attendee names on Certificate Reports page • Added hyperlinks to attendee names on Email Attendees page ## Changes - Event Summary: Links attendee names to profile page using attendee_id - Certificate Reports: Links attendee names to profile page - Email Attendees: Enhanced with profile links and CSS styling ## Implementation Details - All links open in same tab except Email Attendees (opens in new tab) - Links only appear when attendee_id is available - Consistent styling applied with hover effects - Title attributes added for accessibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../template-certificate-reports.php | 10 +++++++++- .../template-email-attendees.php | 17 ++++++++++++++++- .../event-summary/template-event-summary.php | 4 ++-- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php index c4d04e0d..c033c6ed 100644 --- a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php +++ b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php @@ -245,7 +245,15 @@ get_header(); - + + + + + + + + + diff --git a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/email-attendees/template-email-attendees.php b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/email-attendees/template-email-attendees.php index e2d6efd5..49f6de37 100644 --- a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/email-attendees/template-email-attendees.php +++ b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/email-attendees/template-email-attendees.php @@ -163,6 +163,13 @@ $site_title = get_bloginfo( 'name' ); .hvac-attendee-checkbox { margin-right: 10px; } + .hvac-attendee-item a { + color: #0073aa; + text-decoration: none; + } + .hvac-attendee-item a:hover { + text-decoration: underline; + } .hvac-email-sent { background-color: #d4edda; color: #155724; @@ -333,7 +340,15 @@ $site_title = get_bloginfo( 'name' );