true, '_builtin' => false ); //Get all data $acps_post_meta = apply_filters( 'acps/get_meta_data', $post->ID ); //Set up post types array $posttypes = get_post_types($not_default); //Set blank values $acps_post_type = false; $acps_taxonomy_values = false; $acps_form_title = false; $acps_form_container_class = false; $acps_form_labels = false; $acps_keyword_text = false; $acps_label_text = false; $acps_submit_button_text = false; $acps_title_position = false; $acps_keyword_input = false; $acps_keyword_form_value = false; $acps_blank_term = false; $acps_multiple_terms = false; //Grab post type (if it exists) if( isset($acps_post_meta['acps_post_type']) ) { $acps_post_type = $acps_post_meta['acps_post_type']; } //Grab form title (if it exists) if( isset($acps_post_meta['acps_form_title']) ) { $acps_form_title = $acps_post_meta['acps_form_title']; } //Grab title position value and save as variable if( isset($acps_post_meta['acps_title_position']) ) { $acps_title_position = $acps_post_meta['acps_title_position']; } //Grab taxonomy values (if they exist) if( isset($acps_post_meta['acps_taxonomy_values']) ) { $acps_taxonomy_values = $acps_post_meta['acps_taxonomy_values']; } //Grab form container value (if it exists) if( isset($acps_post_meta['acps_form_container_class']) ) { $acps_form_container_class = $acps_post_meta['acps_form_container_class']; } //Grab label option value ( if it exists ) if( isset($acps_post_meta['acps_form_labels']) ) { $acps_form_labels = $acps_post_meta['acps_form_labels']; } //Grab label text fields (if they exist) if( isset($acps_post_meta['acps_label_text']) ) { $acps_label_text = $acps_post_meta['acps_label_text']; } //Grab keyword label text value ( if it exists ) if( isset($acps_post_meta['acps_keyword_text']) ) { $acps_keyword_text = $acps_post_meta['acps_keyword_text']; } //Grab search button text (if it exists) if( isset($acps_post_meta['acps_submit_button_text']) ) { $acps_submit_button_text = $acps_post_meta['acps_submit_button_text']; } //Grab keyword option value ( if it exists ) if( isset($acps_post_meta['acps_keyword_input']) ) { $acps_keyword_input = $acps_post_meta['acps_keyword_input']; } //Grab keyword option value ( if it exists ) if( isset($acps_post_meta['acps_keyword_form_value']) ) { $acps_keyword_form_value = $acps_post_meta['acps_keyword_form_value']; } //Grab blank term setting (if it exists) if( isset($acps_post_meta['acps_blank_term']) ) { $acps_blank_term = $acps_post_meta['acps_blank_term']; } //Grab multiple terms setting (if it exists) if( isset($acps_post_meta['acps_multiple_terms']) ) { $acps_multiple_terms = $acps_post_meta['acps_multiple_terms']; } ?>
|
Select a post type from the dropdown to begin creating a form |
|
|
Select one or more taxonomies |
|
|
Creates checkboxes instead of a dropdown to allow multiple taxonomy term selection. |
|
|
Tick this box to include a blank option in your frontend form |
|
|
Name your form title to be pulled out on page |
0 ) { echo 'value="'.$acps_form_title.'"'; } ?>/> |
|
Choose where to position your form title on the frontend |
|
|
Specify your form container class to add custom styles |
0 ) { echo 'value="'.$acps_form_container_class.'"'; } else if($acps_post_type) { echo 'value="'.$acps_post_type.'_form_container"'; } else { echo 'value="acps_form_container"'; } ?>/> |
|
Select option to show or hide form labels |
|
|
$value)
{
?>
/>
|
|
|
Edit to change the submit button text (defaults to 'submit') |
0 ) { echo 'value="'.$acps_submit_button_text.'"'; } ?>/> |
|
Select option to show or hide a text input field |
|
|
name="acps_keyword_text" />
|
|
|
Enter a default value for your keyword field (leave blank for nothing) |
0 ) { echo 'value="'.$acps_keyword_form_value.'"'; } ?>/> |
|
Copy and paste the shortcode into your posts or templates |
[acps id="ID; ?>"] |