Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

dp95000 on "Lizard Themes Contact Form Redirect"

$
0
0

Hello Everyone,

First time user here, hoping to utilize this forum as a valuable tool to help me, as I work with several Wordpress clients for a living. I'm doing some work for a client who has a theme installed on his site, from Lizard Themes. What I'm trying to do is to get his contact form to redirect to a thank you page after submission. This contact form is an element that comes packaged with the theme itself and is not a separate plugin, as far as I know (so this is outside my usual experience). I've already browsed the settings but I don't see any option to allow me do redirects and I've also already contacted Lizard Themes but they don't provide code editing services to individual users. They did, however, inform me that I would need to open the file 'feedback.php' and modify the following code:

<form action='' method='POST'>
<div class='uDetail'><span><?php _e('Name', 'lizard'); ?>:</span><div class='input'><input type='text' name='uName' value='' /></div></div>
<div class='uDetail'><span><?php _e('Email', 'lizard'); ?>:</span><div class='input'><input type='text' name='uEmail' value='' /></div></div>
<div class='uDetail'><span><?php _e('Subject', 'lizard'); ?>:</span><div class='input'><input type='text' name='uSubject' value='' /></div></div>
<?php if ( count($feedback['department']) > 1 ) { ?>
<div class='uDetail'><span><?php _e('Department', 'lizard'); ?>:</span><div class='input'><select name='uDepartment'>
<?php foreach( $feedback['department'] as $department ) { ?>
<option value="<?php echo $department['title']['value']; ?>"><?php echo $department['title']['value']; ?></option>
<?php } ?>
</select></div></div>
<?php } ?>
<div class='uDetail'><span><?php _e('Message', 'lizard'); ?>:</span><div class='input'><textarea name='uMessage' rows='8'></textarea></div></div>
<input type='submit' value='<?php _e('Send', 'lizard'); ?>' />
<div class="clear"></div>
</form>

FYI, I'm an entry-level developer and I'm proficient with the wordpress interface overall, plus I know HTML, CSS, and little bit of PHP. If anyone can tell me what code I need to change, I would greatly appreciate it. Thanks.

PS. This is the site I'm working on... http://kahnattorneysinisrael.com/


Viewing all articles
Browse latest Browse all 8245

Trending Articles