芝麻web文件管理V1.00
编辑当前文件:/home/seolotod/sthwholesaler.com/wp-content/themes/woodmart/inc/shortcodes/social.php
'', 'twitter_link' => '', 'isntagram_link' => '', 'pinterest_link' => '', 'youtube_link' => '', 'tumblr_link' => '', 'linkedin_link' => '', 'vimeo_link' => '', 'flickr_link' => '', 'github_link' => '', 'dribbble_link' => '', 'behance_link' => '', 'soundcloud_link' => '', 'spotify_link' => '', 'ok_link' => '', 'vk_link' => '', 'whatsapp_link' => '', 'snapchat_link' => '', 'tg_link' => '', 'tiktok_link' => '', 'discord_link' => '', ); $default_atts = array( 'show_label' => 'no', 'label_text' => esc_html__( 'Share: ', 'woodmart' ), 'is_element' => false, 'layout' => '', 'type' => 'share', 'social_links_source' => 'theme_settings', 'align' => 'center', 'tooltip' => 'no', 'style' => 'default', 'size' => 'default', 'form' => 'circle', 'color' => 'dark', 'css_animation' => 'none', 'el_class' => '', 'title_classes' => '', 'page_link' => false, 'elementor' => false, 'sticky' => false, 'css' => '', ); $atts = shortcode_atts( array_merge( $default_atts, $links_atts ), $atts ); if ( 'follow' === $atts['type'] && 'theme_settings' === $atts['social_links_source'] ) { foreach ( array_keys( $links_atts ) as $link_option_name ) { $atts[ $link_option_name ] = woodmart_get_opt( $link_option_name, '' ); } } extract( $atts ); if ( woodmart_get_opt( 'dark_version' ) ) { $color = 'light'; } $target = '_blank'; $title_classes = $title_classes ? ' ' . $title_classes : ''; $classes .= ' wd-social-icons'; if ( function_exists( 'vc_shortcode_custom_css_class' ) ) { $classes .= ' ' . vc_shortcode_custom_css_class( $css ); } $classes .= woodmart_get_old_classes( ' woodmart-social-icons' ); $classes .= ! empty( $layout ) ? ' wd-layout-' . $layout : ''; $classes .= ' icons-design-' . $style; $classes .= ' icons-size-' . $size; $classes .= ' color-scheme-' . $color; $classes .= ' social-' . $type; $classes .= ' social-form-' . $form; $classes .= ( $el_class ) ? ' ' . $el_class : ''; $classes .= woodmart_get_css_animation( $css_animation ); $align = $align ? $align : 'center'; $classes .= ' text-' . $align; $thumb_id = get_post_thumbnail_id(); $thumb_url = wp_get_attachment_image_src( $thumb_id, 'thumbnail-size', true ); $page_title = get_the_title(); if ( ! $page_link ) { $page_link = get_the_permalink(); } if ( woodmart_woocommerce_installed() && is_shop() ) { $page_link = get_permalink( get_option( 'woocommerce_shop_page_id' ) ); } if ( woodmart_woocommerce_installed() && ( is_product_category() || is_category() ) ) { $page_link = get_category_link( get_queried_object()->term_id ); } if ( is_home() && ! is_front_page() ) { $page_link = get_permalink( get_option( 'page_for_posts' ) ); } if ( ! $elementor ) { ob_start(); } woodmart_enqueue_inline_style( 'social-icons' ); ?>
wd-social-icon social-facebook" aria-label="">
wd-social-icon social-twitter" aria-label="">
wd-social-icon social-email" aria-label="">
wd-social-icon social-instagram" aria-label="">
wd-social-icon social-youtube" aria-label="">
wd-social-icon social-pinterest" aria-label="">
wd-social-icon social-tumblr" aria-label="">
wd-social-icon social-linkedin" aria-label="">
wd-social-icon social-vimeo" aria-label="">
wd-social-icon social-flickr" aria-label="">
wd-social-icon social-github" aria-label="">
wd-social-icon social-dribbble" aria-label="">
wd-social-icon social-behance" aria-label="">
wd-social-icon social-soundcloud" aria-label="">
wd-social-icon social-spotify" aria-label="">
wd-social-icon social-ok" aria-label="">
wd-social-icon social-whatsapp" aria-label="">
wd-social-icon social-whatsapp" aria-label="">
wd-social-icon social-vk" aria-label="">
wd-social-icon social-snapchat" aria-label="">
wd-social-icon social-tiktok" aria-label="">
wd-social-icon social-discord" aria-label="">
wd-social-icon social-tg" aria-label="">
wd-social-icon social-viber" aria-label="">