Reputation:
I'm using contact form 7 plugins, I create form and then save the generated code in the contact page. But, in the preview page didn't show any form.
Upvotes: 0
Views: 3577
Reputation: 651
You just missed out the the_content function to call. Please add this code in your template file from container start to container end. Please check the HTML as per your design .
<div class="contianer"><!--container start here -->
<div class="row">
<!-- map column -->
<div class="col-lg-8 mb-4">
<!-- google map iframe goes here -->
</div>
<!-- contact details here -->
<div class="col-lg-4 mb-4">
<?php the_content(); ?>
</div>
</div>
</div> <!--container end here -->
<?php endwhile; endif; ?>
Upvotes: 2
Reputation: 67776
You need to add the Wordpress loop somewhere in that contact-us.php
template, otherwise WP won't load what you define as content in the WP editor (which in your case is the content form)
Upvotes: 0