I want to add post list field in SMCF (Simple Model Contact Form) Plugin next to subject field, so that people can send me post name also.
i added this code on line 388 after smcf_form_subject
$output .= '<div class="smcf-trainer"><label for="smcf-message">*' . __("Posts", "smcf") . ': </label><select class="post_list_smcf" name=""> <option>'.wp_get_archives('show_post_count=10').'</option> </select></div> <div class="clear"></div><br/>';
after saving, this showing blank with no posts, please help me even i am not getting post in email too..
- The topic ‘Add WP post list in Simple Model Contact Form (smcf) plugin?’ is closed to new replies.