';
get_template_part( 'searchform' );
echo '';
/* TAGS */
$tags = get_tags();
if( !empty( $tags ) ){
echo '
';
echo '
';
echo '
';
echo '
';
}
/* CATEGORIES */
$categories = get_categories( );
if( !empty( $categories ) ){
echo '';
echo '
';
echo '
';
foreach( $categories as $c ){
$cat_url = get_category_link( $c -> term_id );
if( is_wp_error( $cat_url ) ){
continue;
}
echo '- ';
echo '' . esc_html( $c -> name ) . '';
echo '
';
}
echo '
';
echo '
';
}
}
?>