I have a contact page on my website, where I've entered the shortcode for Contact Form 7 in the page editor:
But the contact form isn't displaying on the front-end:
Instead only the content from the
Home Page Template is displaying along with the title of the page.
I'd rather not put the code for Contact Form 7 in the
Home Page Template because that template is also being used for all of the other pages on the site.
Any idea as to why nothing from the page editor is showing up on the site?
My reading settings look like this:
And I have the WordPress loop in my
<?php get_header(); if (have_posts()) : while (have_posts()) : the_post(); ?> <article class="post"> <h2><a href="<?php the_permalink(); ?>"><?php the_title()?></a></h2> <?php the_content(); ?> </article> <?php endwhile; else: echo '<p>No content found</p>'; endif; get_footer(); ?>
Is this problem somehow related to the new WordPress release? I'm having this issue with all of the other pages on the site as well.
Site is live here: https://refresh.drawyourpets.com/
Your guidance is appreciated!