Multiple contact pages

Multipurpose WordPress Theme Forum Support
GK User
Mon Sep 14, 2015 1:17 pm
Can you let me know what the best way is of having multiple Contact pages so I can have one sending to the defined email address and another Contact page (sales for example) sending to another email address?

Third party plugins don'nt match the site style, so is there a nice way?

Thanks
User avatar
Fresh Boarder

GK User
Mon Sep 14, 2015 8:00 pm
Hello,

I think the easiest way is to duplicate Quark/template.contact.php page, change the filename and the header of the file:
Code: Select all
/*
Template Name: Contact Page
*/

to another one and manually change the email address in your second template in this fragment:
Code: Select all
// send an e-mail
        $email = get_theme_mod('quark_contact_email','');
User avatar
Moderator


cron