get('version'), 'all'); wp_enqueue_style( 'roboto font', 'https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,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', 'desktop-nav' => 'Desktop Nav 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 ''; } } //paginate function list_pagination($count) { global $wp_query; $big = 99999999; $paged = paginate_links(array( 'base' => str_replace($big, '%#%', get_pagenum_link($big)), 'format' => '?paged=%#%', 'current' => max(1, get_query_var('paged')), 'mid_size' => 0, 'prev_next' => true, 'prev_text' => __('<'), 'next_text' => __('>'), 'type' => 'list', 'total' => $wp_query->max_num_pages )); echo $paged; }