Solved

Contact Form 7 not showing

Posted on 2011-09-04
12
541 Views
Last Modified: 2012-05-12
I'm using a Thesis Wordpress based blog.  I've installed Contact Form 7, activated it, added a new page, pasted the contact form code in it but nothing shows.  I just get a blank page.  Any one know what else I need to do?
0
Comment
Question by:brettr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 23

Accepted Solution

by:
jeremyjared74 earned 500 total points
ID: 36481626
With the information you've provided it would be a guessing game at best. I'm not sure, but maybe a link would help. You can try the default troubleshooting steps:

Disable all plug-ins (except contact form 7 obviously), then see if it works. If it still doesn't you can try switching to the default wp theme to see if it works. Then let us know where the problem is so we can give better advice.
0
 

Author Comment

by:brettr
ID: 36481882
i have another blog running the bare minimum of plug-ins I use.  I added Contact Form 7 and it works there.  So I disable only one plug-in on the problem blog so it matches the blog that works.  Still nothing.

Here is the url: http://www.trektopfuel99sslexperience.com/contractform/.  I have the contact form code in between those the start and end sentences.
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 36482045
There is definitely something wrong, I installed the plug-in on one of my sites and this is the source code for the contact form:
<div id="wpcf7-f1-p8-o1" class="wpcf7">
<form class="wpcf7-form" method="post" action="/jjared/contact-me/#wpcf7-f1-p8-o1">
<div style="display: none;">
<p>
Your Name (required)
<br>
<span class="wpcf7-form-control-wrap your-name">
<input class="wpcf7-text wpcf7-validates-as-required" type="text" size="40" value="" name="your-name">
</span>
</p>
<p>
Your Email (required)
<br>
<span class="wpcf7-form-control-wrap your-email">
<input class="wpcf7-text wpcf7-validates-as-email wpcf7-validates-as-required" type="text" size="40" value="" name="your-email">
</span>
</p>
<p>
Subject
<br>
<span class="wpcf7-form-control-wrap your-subject">
<input class="wpcf7-text" type="text" size="40" value="" name="your-subject">
</span>
</p>
<p>
Your Message
<br>
<span class="wpcf7-form-control-wrap your-message">
<textarea rows="10" cols="40" name="your-message"></textarea>
</span>
</p>
<p>
<input class="wpcf7-submit" type="submit" value="Send">
<img class="ajax-loader" src="http://wordpressexpression.com/jjared/wp-content/plugins/contact-form-7/images/ajax-loader.gif" alt="Sending ..." style="visibility: hidden;">
</p>
<div class="wpcf7-response-output wpcf7-display-none"></div>
</form>
</div>

Open in new window


And here is what your pages source code looks like on the area you specified:
<div class="format_text">
<p>start contact</p>
<p>end contact</p>
</div>

Open in new window


Try adding the contact form code again. First I would switch to HTML mode and clean up the formatting in the area you are placing the shortcode. Here is the default code used for adding the contact form7 to a post/page:
[contact-form 1 "Contact form 1"]

Open in new window


Give my suggestion a try and let me know how it turns out.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 23

Expert Comment

by:jeremyjared74
ID: 36482051
Another thing to check is if your theme is stripping out the shortcode. If it is, you should be able to switch from Visual to HTML and then back to Visual and the shortcode is gone, your theme has some code that is messing up the shortcode.
0
 

Author Comment

by:brettr
ID: 36482140
I tried what you suggested.  Still nothing.
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 36482144
I'm not sure what else to do to help you. Without seeing the code for the theme, I can't be sure. Did you try switching to the default WP theme? At least then you would know if it was theme related.

I can look through your themes code if you want to upload a few of the files. The ones that might offer a clue would be your header.php, index.php, functions.php, and footer.php (possibly a framework.php, or whatever Thesis used for storing it's options).
0
 

Author Comment

by:brettr
ID: 36482145
I've discovered it is a plug-in called Pretty Link that is causing it to fail.
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 36482146
Ahh!, That's why I always suggest disabling plugin's to diagnose problems.
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 36482150
It will prove to save you and the Experts time if you follow their instructions. I don't mean to sound like I'm upset (I'm not), I'm just offering some advice.
0
 

Author Comment

by:brettr
ID: 36482157
What's weird is that I disabled plugins to match only those that are on a site in which contact form 7 worked.  Guess I missed one.  Thanks.
0
 

Author Closing Comment

by:brettr
ID: 36482164
I had to uncheck this option in Pretty Link to get Contact Form 7 to display:

Enable Keywords and URL Pretty Link Automatic Replacement
0
 
LVL 23

Expert Comment

by:jeremyjared74
ID: 36482172
I'm glad you got it working for you. Sometimes plug-in's are great, sometimes there a real thorn in the side.
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iframe stay to the left of page 5 30
Php variable to be sent back 3 35
Woo-commerce gallery not working properly 12 42
Last 4 numbers of a variable 9 24
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question