require_once get_template_directory(). '/wp-bootstrap-navwalker.php'; add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style('bootstrap', get_template_directory_uri() . '/css/bootstrap.min.css' ); wp_enqueue_style('custom-google-font', 'https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap',false ); wp_enqueue_style('main-style', get_template_directory_uri() . '/css/style.css' ); wp_enqueue_style('font-awesome', get_template_directory_uri() . '/css/font-awesome.min.css',false ); wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js', 1.1, true); wp_enqueue_script('bootstrapjs', get_template_directory_uri() . '/js/bootstrap.min.js', array (), 1.1, true); } function theme_prefix_setup() { add_theme_support( 'custom-logo', array( 'height' => 100, 'width' => 400, 'flex-height' => true, 'flex-width' => true, 'header-text' => array( 'site-title', 'site-description' ), ) ); } add_action( 'after_setup_theme', 'theme_prefix_setup' ); function theme_prefix_the_custom_logo() { if ( function_exists( 'the_custom_logo' ) ) { the_custom_logo(); } } function footer_widget() { register_sidebar( array( 'name' => 'Footer-col-1', 'id' => 'footer-col-1', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Footer-col-2', 'id' => 'footer-col-2', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Footer-col-3', 'id' => 'footer-col-3', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Footer-col-4', 'id' => 'footer-col-4', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Footer-col-5', 'id' => 'footer-col-5', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '', ) ); register_sidebar( array( 'name' => 'Footer-col-6', 'id' => 'footer-col-6', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '', ) ); } add_action( 'widgets_init', 'footer_widget' ); register_nav_menus( array( 'primary' => __( 'Primary Menu', 'asroguide' ), ) ); add_theme_support( 'custom-logo' ); add_theme_support( 'custom-background'); add_theme_support( 'post-thumbnails' ); add_theme_support( 'custom-header' ); add_theme_support( 'post-formats',array('image','aside','video') ); function create_post_type() { register_post_type( 'Astrology', array('labels' => array('name' => __( 'Horoscopes' ),'singular_name' => __( 'astrology' )), 'public' => true, 'has_archive' => true, 'supports' => array('title', 'editor', 'post-formats','custom-fields', 'thumbnail'), ) ); } add_action( 'init', 'create_post_type' ); ?> » About

Welcome to Astroguide ~ A pathway to success