Balasan Ke: Dashboard UI UX

Balasan Ke: Dashboard UI UX

by

in

i have 3 cat n atleast 15 sub cat each under each cat layout is very clean but how to manage this clutter

Regards

Hi @chint123,

Thanks for your kind words, we’re glad to hear you’re enjoying WC Vendors!

The dashboard you’re seeing now is our Vendor Dashboard, which is the default interface for vendors. If you’d like vendors to use the standard WordPress/WooCommerce dashboard instead, you can enable access by going to:

WC Vendors → Settings → General → enable “Access to WP-Admin”

Once enabled, vendors will be able to access to the WordPress dashboard.

If you want vendors to be automatically redirected to the WordPress Dashboard whenever they access the Vendor Dashboard, add the following PHP code snippet to your child theme’s functions.php file, or use a plugin such as WPCode Lite.

/**
* WCV - Redirect vendors away from the Vendor Dashboard to WP Admin
*/
add_action( 'template_redirect', function() {
if ( is_page( 'vendor_dashboard' ) && is_user_logged_in() ) {
$user = wp_get_current_user();
if ( in_array( 'vendor', (array) $user->roles, true ) ) {
wp_safe_redirect( admin_url() );
exit;
}
}
});

This way, they’ll also be redirected to the WordPress Dashboard after logging in to your site.

I hope this helps. Let us know how it goes.

Best regards,

source


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Wordpress supported for Telkom University

Subscribe now to keep reading and get access to the full archive.

Continue reading