Hello Hivepress,
Firstly – what an amazing project! I will definitely contribute in the coming weeks!
Secondly, I am trying to figure out how I can add the Hivepress Listing Search Form into the header-navbar? I have found this filter snippet:
add_filter( 'wp_nav_menu_items','add_search_box', 10, 2 );
function add_search_box( $items, $args ) {
$items .= '<li>' . get_search_form( false ) . '</li>';
return $items;
}
This of course, pulls in a generic search form… and that’s where my knowledge falls over.
Ultimately, I want the header-navbar, inside a container (.header-navbar container), separated into 3 columns – first column = logo, second column = Hivepress Listing Search Form, third column with navbar menu items.
Can anyone help me figure this out?
Thank you all for your time.
Chris