// Framework functions require_once( get_template_directory() . '/framework/get-mods.php' ); require_once( get_template_directory() . '/framework/framework-functions.php' ); require_once( get_template_directory() . '/framework/sanitize-data.php' ); require_once( get_template_directory() . '/framework/fonts.php' ); require_once( get_template_directory() . '/framework/typography.php' ); require_once( get_template_directory() . '/framework/accent-color.php' ); require_once( get_template_directory() . '/framework/customizer/customizer.php' ); require_once( get_template_directory() . '/framework/metabox-options.php' ); require_once( get_template_directory() . '/framework/widget-areas.php' ); require_once( get_template_directory() . '/framework/breadcrumbs.php' ); require_once( get_template_directory() . '/framework/plugins.php' ); require_once( get_template_directory() . '/framework/theme-woocommerce.php' ); require_once( get_template_directory() . '/framework/demo-install.php' ); // Visual Composer if ( class_exists( 'Vc_Manager' ) ) { require_once( get_template_directory() . '/framework/visual-composer-config.php' ); require_once( get_template_directory() . '/framework/visual-composer-custom-row.php' ); } // Sets up theme defaults and registers support for various WordPress features. add_action( 'after_setup_theme', 'bauer_theme_setup' ); function bauer_theme_setup() { // Make theme available for translation. load_theme_textdomain( 'bauer', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); // Let WordPress manage the document title. add_theme_support( 'title-tag' ); // Enable woocommerce support add_theme_support( 'woocommerce' ); // Enable support for Post Thumbnails on posts and pages. add_theme_support( 'post-thumbnails' ); add_image_size( 'bauer-post-standard', 770, 350, true ); add_image_size( 'bauer-post-related', 558, 410, true ); add_image_size( 'bauer-post-widget', 140, 140, true ); // Register menus register_nav_menu( 'top', esc_html__( 'Top Menu', 'bauer' ) ); register_nav_menu( 'primary', esc_html__( 'Primary Menu', 'bauer' ) ); register_nav_menu( 'about', esc_html__( 'About Menu', 'bauer' ) ); register_nav_menu( 'service', esc_html__( 'Service Menu', 'bauer' ) ); register_nav_menu( 'bottom', esc_html__( 'Bottom Menu', 'bauer' ) ); register_nav_menu( 'onepage', esc_html__( 'OnePage Menu', 'bauer' ) ); // Switch default core markup for search form, comment form, and comments to output valid HTML5. add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); // Enable support for Post Formats. add_theme_support( 'post-formats', array( 'image', 'gallery', 'video' ) ); /* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, and column width. */ add_editor_style( array( 'assets/css/editor-style.css' ) ); } // Enqueues scripts and styles. add_action( 'wp_enqueue_scripts', 'bauer_theme_scripts' ); function bauer_theme_scripts() { // Vendor Styles & Icons wp_enqueue_style( 'animate', get_template_directory_uri() . '/assets/css/animate.css', array(), '3.5.2' ); wp_enqueue_style( 'animsition', get_template_directory_uri() . '/assets/css/animsition.css', array(), '4.0.1' ); wp_enqueue_style( 'slick', get_template_directory_uri() . '/assets/css/slick.css', array(), '1.6.0' ); wp_enqueue_style( 'fontawesome', get_template_directory_uri() . '/assets/css/fontawesome.css', array(), '5.0' ); wp_enqueue_style( 'eleganticons', get_template_directory_uri() . '/assets/css/eleganticons.css', array(), '1.0.0' ); wp_enqueue_style( 'basicui', get_template_directory_uri() . '/assets/css/basicui.css', array(), '1.0.0' ); // Theme Style wp_enqueue_style( 'bauer-theme-style', get_stylesheet_uri(), array(), '1.0.0' ); // Vendor Scripts wp_enqueue_script( 'html5shiv', get_template_directory_uri() . '/assets/js/html5shiv.js', array('jquery'), '3.7.3', true ); wp_enqueue_script( 'respond', get_template_directory_uri() . '/assets/js/respond.js', array('jquery'), '1.3.0', true ); wp_enqueue_script( 'matchmedia', get_template_directory_uri() . '/assets/js/matchmedia.js', array('jquery'), '1.0.0', true ); wp_enqueue_script( 'easing', get_template_directory_uri() . '/assets/js/easing.js', array('jquery'), '1.3.0', true ); wp_enqueue_script( 'fitvids', get_template_directory_uri() . '/assets/js/fitvids.js', array('jquery'), '1.1.0', true ); wp_enqueue_script( 'animsition', get_template_directory_uri() . '/assets/js/animsition.js', array('jquery'), '4.0.1', true ); wp_register_script( 'slick', get_template_directory_uri() . '/assets/js/slick.js', array('jquery'), '1.6.0', true ); // Theme Script wp_enqueue_script( 'bauer-theme-script', get_template_directory_uri() . '/assets/js/main.js', array( 'jquery' ), '1.0.0', true ); // Comment JS if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } // Output custom CSS from Customizer add_action( 'wp_enqueue_scripts', 'bauer_output_custom_color' ); function bauer_output_custom_color( $output = NULL ) { $output = apply_filters( 'bauer_custom_colors_css', $output ); wp_add_inline_style( 'bauer-theme-style', $output ); } // Registers a widget area. add_action( 'widgets_init', 'bauer_sidebars_init' ); function bauer_sidebars_init() { // Sidebar for Blog register_sidebar( array( 'name' => esc_html__( 'Sidebar Blog', 'bauer' ), 'id' => 'sidebar-blog', 'description' => esc_html__( 'Add widgets here to appear in Sidebar Blog.', 'bauer' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); // Sidebar for Pages register_sidebar( array( 'name' => esc_html__( 'Sidebar Page', 'bauer' ), 'id' => 'sidebar-page', 'description' => esc_html__( 'Add widgets here to appear in Sidebar Page', 'bauer' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); // Sidebar for Portfolio register_sidebar( array( 'name' => esc_html__( 'Sidebar Portfolio', 'bauer' ), 'id' => 'sidebar-portfolio', 'description' => esc_html__( 'Add widgets here to appear in Sidebar Portfolio', 'bauer' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); // Sidebar for Shop register_sidebar( array( 'name' => esc_html__( 'Sidebar Shop', 'bauer' ), 'id' => 'sidebar-shop', 'description' => esc_html__( 'Add widgets here to appear in Sidebar Shop', 'bauer' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); // 4 Sidebars for Footer register_sidebar( array( 'name' => esc_html__( 'Sidebar Footer 1', 'bauer' ), 'id' => 'sidebar-footer-1', 'description' => esc_html__( 'Add widgets here to appear in Sidebar Footer 1', 'bauer' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); register_sidebar( array( 'name' => esc_html__( 'Sidebar Footer 2', 'bauer' ), 'id' => 'sidebar-footer-2', 'description' => esc_html__( 'Add widgets here to appear in Sidebar Footer 2', 'bauer' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); register_sidebar( array( 'name' => esc_html__( 'Sidebar Footer 3', 'bauer' ), 'id' => 'sidebar-footer-3', 'description' => esc_html__( 'Add widgets here to appear in Sidebar Footer 3', 'bauer' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); register_sidebar( array( 'name' => esc_html__( 'Sidebar Footer 4', 'bauer' ), 'id' => 'sidebar-footer-4', 'description' => esc_html__( 'Add widgets here to appear in Sidebar Footer 4', 'bauer' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); } 1.0greentecupvchttp://greentecupvc.comPriyankahttp://greentecupvc.com/author/Priyanka/Home Architecturerich600338<blockquote class="wp-embedded-content"><a href="http://greentecupvc.com/">Home Architecture</a></blockquote> <script type='text/javascript'> <!--//--><![CDATA[//><!-- /*! This file is auto-generated */ !function(d,l){"use strict";var e=!1,n=!1;if(l.querySelector)if(d.addEventListener)e=!0;if(d.wp=d.wp||{},!d.wp.receiveEmbedMessage)if(d.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){for(var r,i,a,s=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),n=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),o=new RegExp("^https?:$","i"),c=0;c<n.length;c++)n[c].style.display="none";for(c=0;c<s.length;c++)if(r=s[c],e.source===r.contentWindow){if(r.removeAttribute("style"),"height"===t.message){if(1e3<(a=parseInt(t.value,10)))a=1e3;else if(~~a<200)a=200;r.height=a}if("link"===t.message)if(i=l.createElement("a"),a=l.createElement("a"),i.href=r.getAttribute("src"),a.href=t.value,o.test(a.protocol))if(a.host===i.host)if(l.activeElement===r)d.top.location.href=t.value}}},e)d.addEventListener("message",d.wp.receiveEmbedMessage,!1),l.addEventListener("DOMContentLoaded",t,!1),d.addEventListener("load",t,!1);function t(){if(!n){n=!0;for(var e,t,r=-1!==navigator.appVersion.indexOf("MSIE 10"),i=!!navigator.userAgent.match(/Trident.*rv:11\./),a=l.querySelectorAll("iframe.wp-embedded-content"),s=0;s<a.length;s++){if(!(e=a[s]).getAttribute("data-secret"))t=Math.random().toString(36).substr(2,10),e.src+="#?secret="+t,e.setAttribute("data-secret",t);if(r||i)(t=e.cloneNode(!0)).removeAttribute("security"),e.parentNode.replaceChild(t,e)}}}}(window,document); //--><!]]> </script><iframe sandbox="allow-scripts" security="restricted" src="http://greentecupvc.com/embed/" width="600" height="338" title="“Home Architecture” — greentecupvc" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe>