Home Forums Theme Support Dokan change Dokan idenity in wp-admin

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Savvas 3 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #72338

    Savvas
    Member
    Post count: 34

    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?

    #72412

    Nayem
    Moderator
    Post count: 6480

    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.

    #72555

    Savvas
    Member
    Post count: 34

    scrrenshot

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

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

    #72629

    Nayem
    Moderator
    Post count: 6480

    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.

    #72632

    Savvas
    Member
    Post count: 34

    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

    #72636

    Savvas
    Member
    Post count: 34

    ok i did it thnx

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘change Dokan idenity in wp-admin’ is closed to new replies.