This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_template_part( 'advanced', 'searchform' ); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form role="search" method="get" id="searchform" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> | |
<div> | |
<label class="screen-reader-text" for="s">Search for:</label> | |
<input type="hidden" name="search" value="advanced"> | |
<?php wp_dropdown_categories( array( | |
'show_option_all' => '', | |
'show_option_none' => '', | |
'option_none_value' => '-1', | |
'orderby' => 'ID', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'create_job_taxonomies', 0 ); | |
function create_job_taxonomies() { | |
// Add new taxonomy, make it hierarchical (like categories) | |
$labels = array( | |
'name' => _x( 'Salaries'), | |
'singular_name' => _x( 'Salary'), | |
'search_items' => __( 'Search Salaries'), | |
'all_items' => __( 'All Salaries'), | |
'parent_item' => __( 'Parent Salary'), | |
'parent_item_colon' => __( 'Parent Salary'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav id="site-navigation" class="main-navigation" role="navigation"> | |
<button class="menu-toggle"></button> | |
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?> | |
</nav> |