Forum Support

Shape 5
April 11, 2021, 09:59:18 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Plugin/Theme Conflict  (Read 584 times)
mct2002
Jr. Member
**
Offline Offline

Posts: 76



« 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
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 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

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mct2002
Jr. Member
**
Offline Offline

Posts: 76



« Reply #2 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
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 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

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mct2002
Jr. Member
**
Offline Offline

Posts: 76



« Reply #4 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
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #5 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

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mct2002
Jr. Member
**
Offline Offline

Posts: 76



« Reply #6 on: March 15, 2018, 12:15:18 PM »

I'll give that a try.  Thanks for your help!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
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.