'share', 'align' => 'center', 'tooltip' => 'no', 'style' => 'default', 'size' => 'default', 'form' => 'circle', 'color' => 'dark', 'css_animation' => 'none', 'el_class' => '', 'page_link' => false, 'elementor' => false, 'sticky' => false, ), $atts )); $target = "_blank"; $classes = 'wd-social-icons'; $classes .= woodmart_get_old_classes( ' woodmart-social-icons' ); $classes .= ' text-' . $align; $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 ); $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' ) ); } woodmart_enqueue_inline_style( 'social-icons' ); if ( ! $elementor ) { ob_start(); } ?>