Results 1 to 9 of 9
Like Tree1Likes
  • 1 Post By ileanaforever

Thread: How to edit the contact page template

  1. #1
    Thread Starter
    Expired Customer ileanaforever's Avatar
    Join Date
    Sep 2014
    Location
    Romania
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to edit the contact page template

    I've recently purchased the IDEAS theme and I started customising it.
    I'd like to assign a recipient email address to the contact form currently displayed in my Contact page.
    However, that doesn't seem to be possible, because in the Contact page there's no information to edit. In fact, in admin mode the page is blank.
    The only thing I noticed is that the Contact page follows the "Contact" template.
    I wanted to edit Contact Page Template (form-contact.php), but I stopped because I don't know how to do this.
    I couldn't find any email address value to replace.
    Before I paste the php code of the Contact Page Template, I'd like to say that I tried to send three messages via the contact form to check if the default destination is admin@matricol.ro but it doesn't seem to be the case because none of the three has reached that email address so far.

    PHP Code:
     <div class="main list fl">

        <?php do_action'appthemes_notices' ); ?>

        <div class="section-head-container clear">
            <div class="section-head">
                <h2><?php the_title(); ?></h2>
            </div><!-- /.section-head -->
        </div><!-- /.section-head-container -->

        <div class="clear">

            <section class="status-publish clear">

                <?php if ( have_posts() ) : ?>

                    <?php while ( have_posts() ) : the_post(); ?>

                        <?php the_content(); ?>

                        <!-- Contact Form -->
                        <form method="post" action="<?php echo get_permalink$post->ID ); ?>" id="contact-form" class="main_form">

                            <p>
                                <label for="your_name" class="fl"><?php _e'Your Name'APP_TD ); ?></label>
                                <input type="text" class="text required" name="your_name" id="your_name" minlength="2" value="<?php if ( isset( $posted['your_name'] ) ) echo $posted['your_name']; ?>" />
                            </p>

                            <p>
                                <label for="email" class="fl"><?php _e'Your email'APP_TD ); ?></label>
                                <input type="text" class="text required" name="email" id="email" value="<?php if ( isset( $posted['email'] ) ) echo $posted['email']; ?>" />
                            </p>

                            <p class="message">
                                <label for="message" class="fl"><?php _e'Message'APP_TD ); ?></label>
                                <textarea class="required" name="message" id="message" cols="60" rows="8" minlength="15"><?php if ( isset( $posted['message'] ) ) echo $posted['message']; ?></textarea>
                                <label for="message" generated="true" class="error"></label>
                            </p>

                            <p class="button">
                                <input type="submit" name="submit-form" class="submit listing-submit cta-gradient cta-button gradient" id="submit-form" value="<?php _e'Submit'APP_TD ); ?>" />
                                <input type="text" name="honeypot" value="" style="position: absolute; left: -999em;" title="" />
                            </p>

                        </form>

                <?php endwhile; ?>

                <?php endif; ?>

            </section><!-- end section_content -->

        </div><!-- end section -->

    </div><!-- end main content -->

    <?php get_sidebar'page' ); ?>

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Expired Customer ileanaforever's Avatar
    Join Date
    Sep 2014
    Location
    Romania
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    Expired Customer ileanaforever's Avatar
    Join Date
    Sep 2014
    Location
    Romania
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    Thread Starter
    Expired Customer ileanaforever's Avatar
    Join Date
    Sep 2014
    Location
    Romania
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    dimitris likes this.

  9. #9
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Edit template for Register and Login page
    By jamila in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: September 24th, 2013, 03:50 PM
  2. Replies: 0
    Last Post: May 21st, 2013, 11:24 PM
  3. Replies: 0
    Last Post: May 21st, 2013, 11:24 PM
  4. How to enable simple CAPTCHA in JobRoller Contact Page Template
    By harry0013 in forum JobRoller General Discussion
    Replies: 0
    Last Post: July 22nd, 2012, 10:50 PM
  5. [SOLVED] Edit Contact Page
    By russbaugh in forum Report JobRoller Bugs
    Replies: 5
    Last Post: January 30th, 2011, 08:10 PM