• id="comment-"> comment_type || 'trackback' == $comment->comment_type ) { ?>

    ', '' ); ?>

    'comment', 'depth' => $depth, 'max_depth' => $args['max_depth'], ) ) ); ?>
    comment_approved ) { echo '' . esc_html__( 'Your comment is awaiting moderation.', 'alpus' ) . ''; echo '
    '; } comment_text(); ?>
    'classic', 'toggle_type' => 'overlap', 'search_align' => 'start', 'show_categories' => false, 'where' => '', 'live_search' => defined( 'ALPHA_PRO_VERSION' ) && (bool) alpha_get_option( 'live_search' ), 'search_post_type' => defined( 'ALPHA_PRO_VERSION' ) ? alpha_get_option( 'search_post_type' ) : '', 'label' => '', 'placeholder' => '', ) ); extract( $args ); ob_start(); $class = ''; if ( 'toggle' == $type ) { $class .= ' hs-toggle hs-' . $toggle_type; } if ( $show_categories ) { $class .= ' hs-expanded'; } else { $class .= ' hs-simple'; } if ( 'toggle' == $type && 'dropdown' == $toggle_type ) { $class .= ' hs-' . $search_align; } ?>
    esc_html__( 'All Categories', 'alpus' ), 'hierarchical' => 1, 'class' => 'cat', 'echo' => 1, 'value_field' => 'slug', 'selected' => 1, 'depth' => 1, ); if ( 'product' == $search_post_type && class_exists( 'WooCommerce' ) ) { $args['taxonomy'] = 'product_cat'; $args['name'] = 'product_cat'; } wp_dropdown_categories( $args ); ?>
    get_id() ) ) . '#reviews" class="woocommerce-review-link scroll-to" rel="nofollow">( ' . $product->get_review_count() . ' )'; } } /** * shop page - select form for products count * * @since 1.0 */ if ( ! function_exists( 'alpha_wc_count_per_page' ) ) { function alpha_wc_count_per_page() { global $alpha_layout; /** * Filters the count of showing products. * * @since 1.0 */ $count_select = apply_filters( 'alpha_products_count_select', alpha_get_loop_prop( 'products_count_select', '9, _12, 24, 36' ) ); $ts = ! empty( $alpha_layout['top_sidebar'] ) && 'hide' != $alpha_layout['top_sidebar'] && is_active_sidebar( $alpha_layout['top_sidebar'] ); ?>
    $val ) { if ( in_array( $key, $except ) ) { continue; } if ( is_array( $val ) ) { foreach ( $val as $inner_val ) { echo ''; } } else { echo ''; } } ?>
    $paged, 'total' => $total, 'end_size' => 1, 'mid_size' => 2, 'prev_text' => ' ', 'next_text' => '', ) ); $links = paginate_links( $args ); if ( $class ) { $classes[] = esc_attr( $class ); } if ( $links ) { if ( 1 == $paged ) { $links = sprintf( '%s', $args['prev_text'] ) . $links; } elseif ( $paged == $total ) { $links .= sprintf( '%s', $args['next_text'] ); } $links = '
    ' . preg_replace( '/^\s+|\n|\r|\s+$/m', '', $links ) . '
    '; } return $links; } } /** * Update my account menu items * * @since 1.1.0 * @see woocommerce_account_menu_items * @param array $items */ if ( ! function_exists( 'alpha_woocommerce_account_menu_items' ) ) { function alpha_woocommerce_account_menu_items( $items ) { $has_logout = false; // Move customer logout to last if ( isset( $items['customer-logout'] ) ) { $has_logout = $items['customer-logout']; unset( $items['customer-logout'] ); } if ( defined( 'ALPHA_VENDORS' ) ) { $items['vendor_dashboard'] = esc_html__( 'Vendor Dashboard', 'alpus' ); } if ( $has_logout ) { $items['customer-logout'] = $has_logout; } return $items; } } /** * Print page title bar. * * @since 1.0 */ if ( ! function_exists( 'alpha_print_title_bar' ) ) { function alpha_print_title_bar() { global $alpha_layout; if ( is_front_page() ) { // Do not show page title bar and breadcrumb in home page. $site_desc = get_option( 'blogdescription' ); if ( is_home() && ! empty( $site_desc ) ) { ?>
    setup_titles(); $page_title = get_post_meta( $page_id, 'page_title', true ); if ( ! $page_title ) { $page_title = $alpha_layout['title']; } $page_subtitle = get_post_meta( $page_id, 'page_subtitle', true ); if ( ! $page_subtitle ) { $page_subtitle = $alpha_layout['subtitle']; } if ( $page_title || $page_subtitle ) { ?>