diff --git a/wp-content/plugins/matthew-lms-mvp/matthew-lms-mvp.php b/wp-content/plugins/matthew-lms-mvp/matthew-lms-mvp.php index dd5bfd5..65a108e 100644 --- a/wp-content/plugins/matthew-lms-mvp/matthew-lms-mvp.php +++ b/wp-content/plugins/matthew-lms-mvp/matthew-lms-mvp.php @@ -2005,23 +2005,44 @@ add_shortcode('matthew_user_profile', function () { $share_title = sprintf("View %s's WAX AI profile", $profile['name']); $share_text = sprintf('%s is building AI-native proof on WAX: %s', $profile['name'], $profile['role']); $share_links = [ - 'LinkedIn' => 'https://www.linkedin.com/sharing/share-offsite/?url=' . rawurlencode($share_url), - 'X / Twitter' => 'https://twitter.com/intent/tweet?url=' . rawurlencode($share_url) . '&text=' . rawurlencode($share_text), - 'Facebook' => 'https://www.facebook.com/sharer/sharer.php?u=' . rawurlencode($share_url), - 'WhatsApp' => 'https://wa.me/?text=' . rawurlencode($share_text . ' ' . $share_url), + [ + 'label' => 'LinkedIn', + 'icon' => 'in', + 'url' => 'https://www.linkedin.com/sharing/share-offsite/?url=' . rawurlencode($share_url), + ], + [ + 'label' => 'X', + 'icon' => '𝕏', + 'url' => 'https://twitter.com/intent/tweet?url=' . rawurlencode($share_url) . '&text=' . rawurlencode($share_text), + ], + [ + 'label' => 'Facebook', + 'icon' => 'f', + 'url' => 'https://www.facebook.com/sharer/sharer.php?u=' . rawurlencode($share_url), + ], + [ + 'label' => 'WhatsApp', + 'icon' => '☎', + 'url' => 'https://wa.me/?text=' . rawurlencode($share_text . ' ' . $share_url), + ], ]; ob_start(); ?>