Your page content goes here

Scroll up to interact with the header · Resize window to see responsive behaviour

Toggle between logged-in / logged-out states using the button below for preview

sections with: ║ ║ ║ ║ [login + register buttons] ║ ║ ║ ║ [user avatar panel] ║ ║ ║ ║ ║ ║ 2. USER DATA: ║ ║ $user = wp_get_current_user(); ║ ║ $avatar_url = class_exists('Nirmol_MMS_Profile') ║ ║ ? Nirmol_MMS_Profile::get_avatar_url($user->ID) ║ ║ : get_avatar_url($user->ID, ['size'=>80]); ║ ║ $member_role = // extract from $user->roles ║ ║ ║ ║ 3. LOGOUT (plugin AJAX): ║ ║ Add to wp_localize_script: ║ ║ 'logoutNonce' => wp_create_nonce('nirmol_logout_nonce') ║ ║ JS: fetch(ajaxurl, { body: 'action=nirmol_logout&nonce=...' }) ║ ║ ║ ║ 4. ENQUEUE Google Fonts in functions.php: ║ ║ wp_enqueue_style('nb-fonts', 'https://fonts.googleapis.com/ ║ ║ css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,500; ║ ║ 0,9..40,700;0,9..40,800;1,9..40,300&family=Playfair+Display: ║ ║ wght@700&display=swap'); ║ ╚══════════════════════════════════════════════════════════════════════╝ -->
[nb_portal key="experience-certificate"]
Scroll to Top