Add WP post list in Simple Model Contact Form (smcf) plugin? (1 post)

  1. nisha_behance
    Posted 2 years ago #

    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..

    Simple Model Contact Form

Topic Closed

This topic has been closed to new replies.

About this Topic