Add verified badge in the user block

Hi Team,

Is there a shortcode I can use to add the verified mark next to the user’s name here?
The user has been marked as verified already, we just need the green tick to show after the name :blush:

Please try this PHP snippet but please note that it can require customization. If you are not familiar with the code customization then please consider hiring someone for custom work

	function($blocks, $template){
		$user = $template->get_context('user');
			return $blocks;
		$is_verified = get_post_meta($user->get_id(), 'hp_user_verified', true);
			return $blocks;
		return hivepress()->template->merge_blocks(
				'user_content' => [
					'blocks' => [
						'custom_user_verified_badge' => [
							'type' => 'content',
							'content' => '<i class="hp-user__verified-badge hp-icon fas fa-check-circle" title="Verified"></i>',
							'_order' => '15',
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.