• Resolved sagejohn

    (@sagejohn)


    Hi I cant seem to update the contact label on dokan

    Dokan Version 3.10.4
    Dokan Pro 3.10.4
    Version 1.6.23

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

    (@brandonco)

    Hi @sagejohn

    Thank you for reaching out!

    To update the contact label in Dokan, you’ll need to customize it either through the settings (if available) or by using custom code. Here are the steps you can take:Through Dokan Settings

    1. Access Dokan Settings: Log into your WordPress dashboard and navigate to Dokan settings.
    2. Check Vendor Settings: Look for any settings related to vendor contact forms or vendor store settings where you might be able to change labels directly.

    Using Custom Code

    If there’s no option in the settings to change the label, you can use custom code. Insert this code into your theme’s functions.php file or a site-specific plugin:

    function customize_dokan_labels( $settings_fields ) { $settings_fields['dokan_selling']['contact_seller_label']['default'] = 'Your New Contact Label'; return $settings_fields; } add_filter( 'dokan_settings_fields', 'customize_dokan_labels' );

    Replace "Your New Contact Label" with the text you want to display.Updating Language Files

    Another method is to change the label via language files if you’re using a non-English setup:

    1. Locate Language Files: Find the .po and .mo files in the languages folder within the Dokan plugin directories.
    2. Edit with POEdit: Open the .po file with a tool like POEdit and search for the “Contact” label and change it.
    3. Save and Upload: Save your changes and upload the modified files back to the server, ensuring they replace the existing ones.

    Ensure to back up your site before making direct changes to the code or language files to avoid any disruptions to your site operations.

    If you encounter any issues or need further customization, feel free to ask!

    Thread Starter sagejohn

    (@sagejohn)

    Thanks

    Plugin Support brandonco

    (@brandonco)

    You’re very welcome @sagejohn,

    Please let us know if there is anything else we can answer for you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.