Replies
Hello Carsten,
Use the following section of code in the function ‘mobile_menu_logged_in_likes_button’ :
$show_count = ''; if ( $count ) { $show_count = '<span class="bpuplike-like-count">' . $count . '</span>'; } // Replace svg with your svg code. return '<a href="' . esc_url( $like_link ) . '"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16"> <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/> </svg>' . $show_count . '</a>';
Regards
RaviHello Carsten,
Sorry for the delayed reply. Please use the following code before the return statement of the ‘mobile_menu_logged_in_likes_button’ function:
if ( ! $count ) { return; }
It will hide the button if the count is empty
Regards
Ravi- This reply has been marked as private.
- Ravi on June 15, 2023 at 9:14 am in reply to: [Resolved] Buddyblog change activity excerpt length #49791
Hello Tosin,
Thank you for the acknowledgement. I am glad to help you.
Regards
Ravi - This reply has been marked as private.
Hello Tosin,
Sorry for the delayed reply. I have rechecked with HPOS enabled and it is working fine for me i.e. after one day of post publishing, The post is still sticky and marked as unsticky on time. Please try after deactivating all other plugins and custom codes temporarily. If the still persists please share a short video of the issue so that I can check.
Regards
RaviHello Carsten,
I have checked on your site and it is working as expected. Please share a short video or screenshots of your requirement so that I can check.
Regards
RaviHello Carsten,
Thank you for your clearance. I have checked on my local development server. By first liking a User 1 profile by User 2 in that case User 2 is listed in the User 1 profile ‘Received Likes’ tab and after unlike the User 1 profile by User 2 then the User 2 profile is not listed in the User 1 profile ‘Received Likes tab list.
Please try after deactivating all other plugins temporarily or any other custom code. If the issue still persists please let me know.
Regards
RaviHello Carsten,
It seems you have taken the ‘Unlike’ button wrongly it is there just to reset the ‘Like’ profile action if a user liked a profile unintentionally. No other specific purpose it has i.e. Unlike a Profile.
Regards
Ravi- Ravi on June 13, 2023 at 9:32 am in reply to: BuddyPress Profile Completion – unable to remove field from Signup #49762
Hello Morten,
Welcome to the BuddyDev Forums. Are you using BuddyPress or BuddyBoss Platform? Please let me know.
Regards
Ravi