edharris
Forum Replies Created
-
Hmmm … I tried the same search using the admin search and the noindexed page doesn’t not appear. But in the front-end search it does. I believe Relevanssi is powering the front-end search though … Can I email you the URL to take a look?
Hi – I have the same problem – UDB free version installed (3.8.5), on WordPress 6.7.1, and on the plugin settings page all three tabs are blank. I see other threads in the past reporting the same issue. Is there a fix yet?
Perfect! Thanks again
Thanks! Last question on this topic: If I want to display that similar User Role badge on each card on a Member Directory grid, it looks like I need to use something different to um_profile_id().
I tried this code, but am back to it display my logged-in user role (Administrator) on every card. Any tips for this situation?
add_action( 'um_members_just_after_name', 'member_card_user_role_badge', 10 );
function member_card_user_role_badge() {
$role = UM()->roles()->get_priority_user_role( um_profile_id() );
$role_name = $role ? wp_roles()->get_names()[ $role ] : '';
echo '<div class="member-card-role">' . $role_name . '</div>';
}Works perfectly – thanks @missveronicatv !
On your point about a user potentially having multiple roles, does UM allow you to assign multiple roles to a user as part of the plugin? Or is that only possible by combining with another plugin like User Roles Editor, etc?
Forum: Fixing WordPress
In reply to: Structure with IDs instead of classes – why?Never mind – figured it out. Forgot to declare html5 support in the child theme.