• Cristi Roberts

    (@cristi-roberts)


    Hi,

    I have a child theme and I have made a new template page to remove the title from the page. So I have a template named ‘no title page template’.
    I need for the home page to have a contact form that sits to the right of my content.
    How can I add this area?
    Here is a link to my site: https://hawkinscapitalgroup.cristiswebdesign.com/
    Here is the code for my no title page template:

    <?php
    /**
     * Template Name: No title page template
    
     */
    
    get_header(); ?>
    
    	<div id="primary" class="site-content">
    		<div id="content" role="main">
    
    			<?php while ( have_posts() ) : the_post(); ?>
    				<? get_template_part( 'content', 'page' ); ?>
    				<?php comments_template( '', true ); ?>
    			<?php endwhile; // end of the loop. ?>
    
    		</div><!-- #content -->
    
    	</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thanks for any help you can give me.
    Cristi

Viewing 2 replies - 1 through 2 (of 2 total)
  • hawkeye126

    (@hawkeye126)

    Add the Contact From 7 plugin
    Create a contact form
    Copy the form’s shortcode
    Add a new text widget to your the ‘First Front Page Widget Area’ at Appearance -> Widgets
    Place your shortcode in the textbox and save

    Thread Starter Cristi Roberts

    (@cristi-roberts)

    hawkey126,
    Thanks! I did that but it’s not working. Do I need to be using the front page template to put a widget on the front page? I’m not using that, I’m using one I made so it won’t have the title ‘home’ on the page.

    Thanks,
    Cristi

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding a contact form to the home page’ is closed to new replies.