• Resolved Tuppa

    (@my2424u)


    Good day how are you?

    1) Can you give me a php code that I can add to snippet to remove I AM A Vendor from my login Page please…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Saiful Islam

    (@saifislam01)

    Hello @my2424u,

    I’m fine thanks. I hope you’re doing great.

    You are unable to make the changes by default but you can hide the “I am a vendor” option from the registration page. A few modifications are required.

    File Location: wp-content/plugins/dokan-lite/templates/global/seller-registration-form.php

    Comment out line no: 68-71

    <label class="radio">
            <input type="radio" name="role" value="seller"<?php checked( $role, 'seller' ); ?>>
            <?php esc_html_e( 'I am a vendor', 'dokan-lite' ); ?>
    </label>

    Make the changes using a child theme so that you do not lose the changes during an update. It is recommended to use a child theme during such modification. I hope it will help.

    Thanks

    • This reply was modified 3 years, 11 months ago by Saiful Islam.
    Thread Starter Tuppa

    (@my2424u)

    Hi is there a way I can add a php code via code snippet that can do same thing… As I don’t use a child theme…

    Hello @my2424u ,

    This template file does not allow you to make changes via a snippet. It is not absolutely necessary to use a child theme. You can do the same on your current theme as well. A child theme is recommended because it will allow you to keep the modified files even when there is an update of the theme.

    You can learn more about creating child theme here: https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

    Thank you ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove I AM A Vendor’ is closed to new replies.