get('version'), 'all'); wp_enqueue_style( 'rubik font', 'https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap' ); wp_enqueue_script( 'slowtwitch-nav-script', get_template_directory_uri() . '/assets/js/st-nav.js', NULL, NULL, true ); } // set up menu areas add_action( 'init', 'slowtwitch_menus' ); function slowtwitch_menus() { $locations = array( 'primary' => 'Primary Menu', 'footer' => 'Footer Menu' ); register_nav_menus($locations); } add_action( 'widgets_init', 'my_widgets_init' ); function my_widgets_init() { register_sidebar( array( 'id' => 'slowtwitch-front-page', 'name' => 'Widgets for Front Page', ) ); } // Breadcrumbs function custom_breadcrumbs() { // Settings $separator = '>'; $breadcrums_id = 'breadcrumbs'; $breadcrums_class = 'breadcrumbs'; $home_title = 'Home'; // If you have any custom post types with custom taxonomies, put the taxonomy name below (e.g. product_cat) $custom_taxonomy = 'product_cat'; // Get the query & post information global $post,$wp_query; // Do not display on the homepage if ( !is_front_page() ) { // Build the breadcrums echo ''; } }