Contact Form by BestWebSoft
[resolved] changin shortcode in Windows (2 posts)

  1. pantonie
    Posted 2 years ago #


    I need to change shortcode from [contact_form] to any other one due to conflict with my theme configuration. What can i do? Please pay attention that I'm Windows user and I can not use *nix commands to change plugin code.

    BR, Anton.


  2. bestwebsoft
    Plugin Author

    Posted 2 years ago #

    Hello pantonie,

    Please find the line
    add_shortcode( 'contact_form', 'cntctfrm_display_form' );
    at the end of the plugin file and change it to:
    add_shortcode( 'bws_contact_form', 'cntctfrm_display_form' );
    Save the file.
    Use the shortcode [bws_contact_form] instead of [contact_form]. If
    some other language is used in the shortcode, it will look like this
    [bws_contact_form lang=nl] , where nl is the necessary language.

    Kind regards,
    Support Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form by BestWebSoft
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic