Secure contact form with simple facebook connect
-
I was wondering if someone could help me out with this situation, i have been trying to figure it out for months but have not been able to.
I am using secure contact form, and everything works except the thank you message wont display..
Ive read posts that says its because the simple facebook scans the page and i read this article
That says to place this code
<?php // prevent facebook like buttons on this page remove_filter('the_content', 'sfc_like_button_automatic', 30); get_header(); /* Template Name: Contact Us */?> <!-- begin colLeft --> <div id="colLeft" > <h1><?php the_title(); ?></h1> <?php if (is_page('contact-us')) { ?><div style="margin-left:30px;"> <?php } else { ?> <div style="margin-left:0px;"> <?php } if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_content(); ?> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> <?php if ( isset($si_contact_form) ) { echo $si_contact_form->si_contact_form_short_code( array( 'form' => '1' ) ); } else print'<a href="mailto:me@my-email-example.com" />click here to email us</a>'; ?> </div> </div> <!-- end colleft --> <?php get_sidebar(); ?> <?php get_footer(); ?>
But not sure quite were to place it, basically i have a contact us page that i created in the admin of wordpress, i do not have a template file for contact us, i am using a shortcode to insert my contact us form into a page.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Secure contact form with simple facebook connect’ is closed to new replies.