', esc_url( get_bloginfo( 'pingback_url' ) ) ); } } add_action( 'wp_head', 'brooklyn_lite_pingback_header' ); // Read More function brooklyn_lite_read_more(){ $read_more = get_theme_mod( 'brooklyn_lite_read_more_text' ); if(!empty($read_more)){ ?> max_num_pages; if(!$pages) { $pages = 1; } } if(1 != $pages){ echo '"; } } } // Navbar Brand Logo function brooklyn_lite_brand_logo(){ if( function_exists( 'the_custom_logo' ) && has_custom_logo() ){ the_custom_logo(); } else{ ?>

| ProWPTheme' ); ?>
$layout, 'sidebar' => $sidebar, 'cols' => $cols, 'item_inner_cols' => $item_inner_cols ); return $setup; } } /** * Single post layout */ if ( !function_exists( 'brooklyn_lite_single_layout' ) ) { function brooklyn_lite_single_layout() { $layout = get_theme_mod( 'single_post_layout', 'layout-default' ); //Single post columns if ( $layout == 'layout-default' ) { $cols = ''; $sidebar = true; } else { $cols = 'col-md-12'; $sidebar = false; } $setup = array( 'type' => $layout, 'sidebar' => $sidebar, 'cols' => $cols, ); return $setup; } } /** * Adds class for blog grid and masonry layouts */ function brooklyn_lite_blog_grid( $classes ) { $layout = brooklyn_lite_blog_layout(); if ( !is_singular() && ( $layout['type'] == 'layout-grid' || $layout['type'] == 'layout-masonry' ) ) { $classes[] = 'col-lg-4 col-md-6'; } return $classes; } add_filter( 'post_class', 'brooklyn_lite_blog_grid' ); /** * Returns menu type and if the menu is contained or stretched */ function brooklyn_lite_menu_layout() { //Type $type = get_theme_mod( 'menu_type', 'header-default' ); //Contained or stretched $contained = get_theme_mod( 'menu_container', 'menu-container' ); $layout = array( 'type' => $type, 'contained' => $contained, ); return $layout; } /** * Menu container */ function brooklyn_lite_menu_container() { $layout = brooklyn_lite_menu_layout(); if ( 'menu-full-width' === $layout['contained'] ) { $container = 'container-fluid'; } else { $container = 'container'; } return $container; }