Search code examples
phpwordpresswordpress-themingcontact-form-7

Creating form and form doesn´t show


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.

enter image description here

enter image description here


Solution

  • 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; ?>