Forum Support

 
Advanced Search


New Posts
FAQs for Wordpress
If you have a question about Wordpress products please read through a list of our most commonly asked questions here.
[1]

Offline mct2002
Free Member
Posts: 76
Posted on: March 14, 2018, 09:09:48 AM

I am experiencing a conflict between the theme and the plugin, "Contact Form Builder" by Web Dorado.  Here is what they told me was the problem:

Quote
It is not written wp_head() function in your Theme, because of this the javascript files are not working.

They have put in a temporary fix, but as soon as the plugin is updated then it will go back to not working.  Is this a change that can be made to the theme?
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: March 14, 2018, 09:51:29 AM

You were given incorrect information.  The wp_head() function has been included in the framework for a very long time.  It is not located in the index.php file, but the framework definitely uses it; it is just located in core framework files, due to the way the framework functions.

Did they give you any information about how the "temporary fix" was done?  Any changes made to the main theme files should stay even after an update, as the Vertex Upgrade Patch only changes core framework files.

Logged

Offline mct2002
Free Member
Posts: 76
Posted on: March 14, 2018, 09:54:16 AM

I've asked about the change they made, but I haven't received a response.  The change they made was to the plugin, not to the theme.
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: March 14, 2018, 09:57:56 AM

Without knowing what they did, I won't be able to suggest another solution or make any changes to the framework. 
Logged

Offline mct2002
Free Member
Posts: 76
Posted on: March 15, 2018, 08:45:52 AM

This is what I received back from the plugin developer:

Quote
Our developer has added the following code into contact-form-builder/frontend/views/CFMViewForm_maker.php file:
?>
<script type="text/javascript" src="http://rothauction.us/wp-content/plugins/contact-form-builder/js/cfm_main_front_end.js"></script>

<?php
Logged

Offline Tristan Rineer
Free Member
Posts: 3858
Posted on: March 15, 2018, 12:13:59 PM

You can always try just adding that code to immediately before the </head> tag in the index.php file of the theme.

Logged

Offline mct2002
Free Member
Posts: 76
Posted on: March 15, 2018, 12:15:18 PM

I'll give that a try.  Thanks for your help!
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.028 seconds with 22 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.