Put this in your childs functions.php file
COPY CODE
function kleo_membership_info()
{
global $membership_levels,$current_user;
if (! $membership_levels) {
return;
}
if (isset($current_user->membership_level) && $current_user->membership_level->ID)
{
echo '<a><span class="label radius pmpro_label">'.$current_user->membership_level->name.'</span></a>';
}
else
{
echo '<a><span class="label radius pmpro_label">'.__("Upgrade account",'kleo_framework').'</span></a>';
}
}
The profile header is due to be revamped in the next Kleo update. I havent seen that code yet, so no guarantee that this will work after the update.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com