brettr
asked on
Contact Form 7 not showing
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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:
And here is what your pages source code looks like on the area you specified:
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:
Give my suggestion a try and let me know how it turns out.
<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>
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>
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"]
Give my suggestion a try and let me know how it turns out.
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.
ASKER
I tried what you suggested. Still nothing.
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).
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).
ASKER
I've discovered it is a plug-in called Pretty Link that is causing it to fail.
Ahh!, That's why I always suggest disabling plugin's to diagnose problems.
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.
ASKER
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.
ASKER
I had to uncheck this option in Pretty Link to get Contact Form 7 to display:
Enable Keywords and URL Pretty Link Automatic Replacement
Enable Keywords and URL Pretty Link Automatic Replacement
I'm glad you got it working for you. Sometimes plug-in's are great, sometimes there a real thorn in the side.
ASKER
Here is the url: http://www.trektopfuel99sslexperience.com/contractform/. I have the contact form code in between those the start and end sentences.