• id="buzz-li-comment-">
    comment_approved == '0') : ?>
    %1$s','buzzstore'), get_comment_author_link() ) ?>
    $depth, 'max_depth' => $args['max_depth']))); ?>
  • '.esc_html__('Sparkle Themes','buzzstore').'' ); ?> id; ?> label ); ?>
    choices as $value => $label ) : ?>
    cats = get_categories($options); parent::__construct( $manager, $id, $args ); } public function render_content(){ if(!empty($this->cats)){ ?> description){ ?> description); ?> label ); ?> description){ ?> description); ?>
  • ' . esc_attr($home) . '
  • '; } else { echo ''; } } } /** * Schema type */ function buzzstore_html_tag_schema() { $schema = 'http://schema.org/'; $type = 'WebPage'; // Is single post if ( is_singular( 'post' ) ) { $type = 'Article'; } // Is author page elseif ( is_author() ) { $type = 'ProfilePage'; } // Is search results page elseif ( is_search() ) { $type = 'SearchResultsPage'; } echo 'itemscope="itemscope" itemtype="' . esc_attr( $schema ) . esc_attr( $type ) . '"'; } /** * Page and Post Page Display Layout Metabox function */ add_action('add_meta_boxes', 'buzzstore_metabox_section'); if ( ! function_exists( 'buzzstore_metabox_section' ) ) { function buzzstore_metabox_section(){ add_meta_box('buzzstore_display_layout', esc_html__( 'Display Layout Options', 'buzzstore' ), 'buzzstore_display_layout_callback', array('page','post'), 'normal', 'high' ); } } $buzzstore_page_layouts =array( 'leftsidebar' => array( 'value' => 'leftsidebar', 'label' => esc_html__( 'Left Sidebar', 'buzzstore' ), 'thumbnail' => get_template_directory_uri() . '/assets/images/left-sidebar.png', ), 'rightsidebar' => array( 'value' => 'rightsidebar', 'label' => esc_html__( 'Right (Default)', 'buzzstore' ), 'thumbnail' => get_template_directory_uri() . '/assets/images/right-sidebar.png', ), 'nosidebar' => array( 'value' => 'nosidebar', 'label' => esc_html__( 'Full width', 'buzzstore' ), 'thumbnail' => get_template_directory_uri() . '/assets/images/no-sidebar.png', ), 'bothsidebar' => array( 'value' => 'bothsidebar', 'label' => esc_html__( 'Both Sidebar', 'buzzstore' ), 'thumbnail' => get_template_directory_uri() . '/assets/images/both-sidebar.png', ) ); /** * Function for Page layout meta box */ if ( ! function_exists( 'buzzstore_display_layout_callback' ) ) { function buzzstore_display_layout_callback(){ global $post, $buzzstore_page_layouts; wp_nonce_field( basename( __FILE__ ), 'buzzstore_settings_nonce' ); ?>
    ID, 'buzzstore_page_layouts', true ) ); ?>