$defaults = array( // HTML wrappers. 'heading_before' => '<legend>', 'heading_after' => '</legend>', 'fieldset_before' => '<fieldset>', 'fieldset_after' => '</fieldset>', 'main_div_before' => '<div id="wpmem_ul_search">', 'main_div_after' => '</div>', 'row_before' => '', 'row_after' => '', 'buttons_before' => '<div class="button_div">', 'buttons_after' => '</div>', 'results_before' => '<h2>', 'results_after' => '</h2>', 'link_before' => '<p>', 'link_after' => '</p>', // CSS classes & ids. 'form_id' => 'wpmem_search_form', 'form_class' => 'form', 'button_id' => 'wpmem_searchsubmit', 'button_class' => 'buttons', 'results_term' => 'results-term', // Labels. 'heading' => __( 'Search Members', 'wp-members-ul' ), 'search_for' => __( 'Search for:', 'wp-members-ul' ), 'search_by' => __( 'Search by:', 'wp-members-ul' ), 'button_text' => __( 'Search', 'wp-members-ul' ), 'results_heading' => __( 'Search Results For:', 'wp-members-ul' ), 'results_link' => __( 'Back To Member Listing', 'wp-members-ul' ), 'default_search' => __( 'Choose from list', 'wp-members-ul' ), 'default_results' => __( 'You did not specify a search field. If you specify a field to search from the "Search by" list, you will get more relevant results.', 'wp-members-ul' ), // Other. 'strip_breaks' => true, 'wrap_inputs' => true, );
Not sure what to do with this code?
You're not a "coder" and don't know what to do? Don't worry! Code Snippets are the basic building blocks of WordPress customization, and once you know the basics, they are simple to use.
Here are some free articles to get you started:
- Using Code Snippets from the Site
- The functions.php File
- Create a plugin file for custom functions
- Create a child theme
- Do not modify plugin files!
For "hands on" help, consider a plugin support subscription or the Pro Bundle.