WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. pantonie
    Member
    Posted 1 year ago #

    Hi,

    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.

    http://wordpress.org/extend/plugins/contact-form-plugin/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags