Shortcode rendering itself!

Han created the topic: Shortcode rendering itself!

Same topic as others but I couldn't find a solution. The form was previously rendering fine but now for some reason the shortcode itself shows up instead of the form. Must be a clash with something in the theme or another plugin but I have no idea what and I can't see to fix it. Can you help? Site is www.bcctz.co.tz/contact-us/

#19901

Please Log in or Create an account to join the conversation.


Support replied the topic: Shortcode rendering itself!

Dear Han,

Have you tried updating the plugin and reinserting the shortcode to the page? If no, please do. Alternatively, please follow the following steps to solve the problem:

1. Go to your Plugins section of the WordPress admin panel of your website.
2. Find Contact Form Builder and click Edit under the plugin title, you will access the plugin editor.
3. Please scroll down to the end of the code and add the following code before the PHP main ?> closing brackets:

add_shortcode('Contact_Form_Builder', 'cfm_shortcode');

function cfm_shortcode($attrs) {
    $new_shortcode = '[Contact_Form_Builder';
    foreach ($attrs as $key=>$value) {
    $new_shortcode .= ' ' . $key . '="' . $value . '"';
    }
    $new_shortcode .= ']';
    return $new_shortcode;
}

Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#19904
The following user(s) said Thank You: Han

Please Log in or Create an account to join the conversation.


Han replied the topic: Shortcode rendering itself!

Worked immediately. Thank you so much. I feel silly I didn't notice the update was due... Thanks again :)

#19905

Please Log in or Create an account to join the conversation.


Support replied the topic: Shortcode rendering itself!

Dear Han,

Please feel free to let us know in case you have other questions about the plugin.
Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#19909

Please Log in or Create an account to join the conversation.


Time to create page: 0.184 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us