Theme and Plugin Support
-
AuthorPosts
-
-
January 21, 2021 at 8:11 AM #114145developer-8646Participant
Hello I hope you are well.
Could you please help me to know how I can change the position of the menus in the left sidebar, I would like the option “Pedidos” to be under “Escritorio”. We also want to change the colors of the dashboard.
I appreciate your prompt help. -
January 22, 2021 at 6:16 PM #114265MVX Support NinjaKeymaster
Hi,
using below code you can change the position of the menu
Please add this code in the function.php of the current active theme :add_filter('wcmp_vendor_dashboard_nav', 'wcmp_vendor_dashbord_sidebar_modification'); function wcmp_vendor_dashbord_sidebar_modification( $header_nav ){ $header_nav['vendor-orders']['position'] = 5; return $header_nav; }
Copy>> We also want to change the colors of the dashboard.
— You also change the dashboard color from admin dashboard >> WCMp >> Settings >> Vendor >> Vendor Frontend
checkout the image – https://prnt.sc/xg2wo2Regards,
-
February 27, 2021 at 11:17 PM #116697CrissParticipant
Could you please update the code to re-order ALL menus?
Do you also have a way of re-ordering the Knowledgebase articles created? (though I could just re-create them, since thay follow “last-modified” order) -
March 1, 2021 at 4:30 PM #116754MVX Support NinjaKeymaster
Hi,
Our replies are inline:
>> To re-order all menus use below filter
—apply_filters( 'wcmp_vendor_dashboard_nav', $vendor_nav );
Copy>> Do you also have a way of re-ordering the Knowledgebase articles created? (though I could just re-create them, since thay follow “last-modified” order)
— To re-order the knowledgebase articles kindly use below filter.wcmp_vendor_knowledgebase_query_args
CopyRegards,
-
March 2, 2021 at 1:00 AM #116802CrissParticipant
…sorry but I’m not a coder and that doesn’t help me. I don’t know what to add in the filter function.
-
March 2, 2021 at 6:27 PM #116834MVX Support NinjaKeymaster
Kindly tell us your menu order and what do you want for knowledge base page.
So we will help you accordingly.Regards,
-
March 2, 2021 at 8:04 PM #116844CrissParticipant
Thanks. I guess I could leave the dashboard menu as they are, but then I wish to have the knowledgebase replicating the same order: dashboard + store settings + product manager + catalogue + coupons + stats + orders + payment + knowledgebase + tools
In your demo there are more menus, and I wonder why I don’t have them. Maybe they have been disabled by my theme. -
March 3, 2021 at 6:33 PM #116902MVX Support NinjaKeymaster
Hi,
as per your requirement to change the knowledge base data as the above order is required some changes or custom code.
using above filter or template override.Currently the data is showing order by ‘date’ and you can change that using some parameter like data,ID,title,name,modified etc.
checkout the link for more info – https://bit.ly/3rcrC6D.Please let me know if you need any help further.
Regards,
-
-
AuthorPosts
The topic ‘Move menu position in sidebar and change dashboard colors’ is closed to new replies.