This topic contains 5 reply and 2 voices, and was last updated by Savvas 3 years, 11 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
September 18, 2015 at 3:01 am 72338
Savvas Hello, how can i change the menu item "Dokan" name on top bar and admin menu? (its placed below Media menu item and on top bar) also which wp roles can see dokan in wp-admin? only administrators?
September 19, 2015 at 11:04 am 72412
Nayem Nayem

Hello Savvas,

Can you please provide screenshot to make me clear? I want to see that place where you the name should be changed.

Yes, administrator can see wp-admin by-default. You can also enable/disable admin area access for seller and customer. You will get this option in Dokan->Settings->General.

Thanks.

September 20, 2015 at 2:07 pm 72555
Savvas Savvas

scrrenshot

those 2 in admin. how can i change it to other word?

also which other roles except admin can see it? editor?

September 20, 2015 at 7:41 pm 72629
Nayem Nayem

Hello,

To change the dashboard menu from the menu panel of WP admin please open dokan/includes/admin/admin.php and in this file you will get this line- $dashboard = add_menu_page( __( 'Dokan', 'dokan' ), __( 'Dokan', 'dokan' ), $capability, 'dokan', array($this, 'dashboard'), 'dashicons-vault', $menu_position ); Change those Dokan labels.

To change the top bar menu name –

You have to find out this function- function dokan_admin_toolbar() in this function you will get this array –

$args = array(
            'id'     => 'dokan',
            'title'  => __( 'Dokan', 'admin' ),
            'href'   => admin_url( 'admin.php?page=dokan' )
);

Just change the title “Dokan”.

Thanks.

September 20, 2015 at 8:00 pm 72632
Savvas Savvas

ok for the admin toolbar i did it and works fine

the other part still nothing.

for my other question you didnt tell me. my shop employee needs to see dokan setting, but i dont need him to be a wordpress admin

September 20, 2015 at 9:14 pm 72636
Savvas Savvas

ok i did it thnx

Viewing 5 Posts - 1 through 5 (of 5 total)