db->is_built_with_elementor( $post->ID ) ) { if ( intval( get_option( 'elementor_container_width' ) ) === 1290 ) { $classes[] = 'builder-raw-width'; } } } if (class_exists('Brizy_Editor')) { $pid = Brizy_Editor::get()->currentPostId(); $is_using_brizy = false; try { if ( in_array( get_post_type( $pid ), Brizy_Editor::get()->supported_post_types() ) ) { $is_using_brizy = Brizy_Editor_Post::get( $pid )->uses_editor(); } } catch ( Exception $e ) { } if ($is_using_brizy) { $classes[] = 'builder-raw-width'; } } } if (function_exists('is_product_category')) { if (is_product_category() || is_product_tag()) { $classes[] = 'woocommerce-archive'; } if (is_product()) { if (get_theme_mod('has_ajax_add_to_cart', 'yes') === 'yes') { $classes[] = 'ct-ajax-add-to-cart'; } } } return $classes; }); /** * User social channels * * @param string $tooltip Should output tooltips. */ function blocksy_author_social_channels( $tooltip = 'yes' ) { $facebook = get_the_author_meta( 'facebook' ); $linkedin = get_the_author_meta( 'linkedin' ); $dribbble = get_the_author_meta( 'dribbble' ); $website = get_the_author_meta( 'user_url' ); $twitter = get_the_author_meta( 'twitter' ); $gplus = get_the_author_meta( 'gplus' ); $instagram = get_the_author_meta( 'instagram' ); if ( ! ( $website || $facebook || $twitter || $gplus || $linkedin || $dribbble || $instagram ) ) { return; } $class = 'author-box-social'; ?> true, 'tablet' => true, 'mobile' => false, ])); ?>
120]), [ 'tag_name' => 'a', 'inner_content' => ' ', 'html_atts' => [ 'href' => get_author_posts_url( get_the_author_meta('ID'), get_the_author_meta('user_nicename') ) ], 'img_atts' => ['width' => 60, 'height' => 60], ] ); ?>