jQuery(document).ready(function() { jQuery('select').niceSelect(); }); "; if (get_option('title') && get_option('title') != '') echo '

' . esc_attr(get_option("title")) . '

'; // select Category if (get_option('e_cats') && get_option('e_cats') != '') { $categories = get_categories(); $cat_option = '
  • '; } // select tag if (get_option('e_tag') && get_option('e_tag') != '') { $tags = get_categories('taxonomy=post_tag&number=10'); $tag_option = '
  • '; } // select author if (get_option('e_author') && get_option('e_author') != '') { $authors = get_users(array('who' => 'authors', 'fields' => array('id', 'display_name'))); $author_option = '
  • '; } // select date if (get_option('e_date') && get_option('e_date') != '') { $archive_option = '
  • '; } // enter keyword if (get_option('e_keyword') && get_option('e_keyword') != '') { $field_option = '
  • '; } /** * form for post entery data * * submit to ajax function */ $url = home_url(); echo '
    '; echo $cat_option; echo $tag_option; echo $author_option; echo $archive_option; echo $field_option; echo wp_nonce_field( 'action_advance_security', 'name_advance_security' ); echo '
    ';