-
Author
-
October 22, 2017 at 06:23 #177351rlarson87Participant
Hi, is it possible to reorder the tabs in the User Messages section? Right now the tabs order is Inbox, Starred, Sent, Compose, Notices. I would like it to be Compose, Inbox, Sent, Starred, Notices
Attachments:
You must be logged in to view attached files.October 22, 2017 at 18:11 #177393Kieran_SQModeratorHi,
Please try adding the below snippet to the end of your KLEO Child theme’s functions.php file by going to Appearance > Editor > KLEO Child > Functions.php
COPY CODEfunction add_settings_subnav_tab() { //reorder messages tabs buddypress()->members->nav->edit_nav( array( 'position' => 10, ), 'compose', 'messages' ); buddypress()->members->nav->edit_nav( array( 'position' => 11, ), 'inbox', 'messages' ); buddypress()->members->nav->edit_nav( array( 'position' => 12, ), 'sentbox', 'messages' ); buddypress()->members->nav->edit_nav( array( 'position' => 20, ), 'starred', 'messages' ); } add_action( 'bp_setup_nav', 'add_settings_subnav_tab', 100 );
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
October 23, 2017 at 01:39 #177436rlarson87ParticipantThanks. What is the “Notices” tab in the messages section for? Is it possible to hide that?
October 23, 2017 at 17:44 #177531Kieran_SQModeratorHi,
The notices tab is for admins only and allows an admin to send a message to all users with minimal resources, this is a great feature if you want to announce site downtime or that your company/site is holding an emergency fundraiser etc. For the sake of comparability you should leave the code in tact.
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts
You must be logged in to reply to this topic.