????
Current Path : /home/darkwebsol/rensencorp.com/wp-content/themes/rashy/template-parts/ |
Current File : /home/darkwebsol/rensencorp.com/wp-content/themes/rashy/template-parts/sharebox.php |
<?php global $post; $args = array( 'position' => 'top', 'animation' => 'true' ); ?> <div class="goal-social-share"> <div class="bo-social-icons bo-sicolor social-radius-rounded"> <span class="title"><?php echo esc_html__('Share Link:','rashy'); ?> </span> <?php if ( rashy_get_config('facebook_share', 1) ): ?> <a class="bo-social-facebook" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" href="http://www.facebook.com/sharer.php?s=100&p[url]=<?php the_permalink(); ?>&p[title]=<?php the_title(); ?>" target="_blank" title="<?php esc_attr_e('Share on facebook', 'rashy'); ?>"> <i class="fab fa-facebook-f"></i> </a> <?php endif; ?> <?php if ( rashy_get_config('twitter_share', 1) ): ?> <a class="bo-social-twitter" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" href="http://twitter.com/home?status=<?php the_title(); ?> <?php the_permalink(); ?>" target="_blank" title="<?php esc_attr_e('Share on Twitter', 'rashy'); ?>"> <i class="fab fa-twitter"></i> </a> <?php endif; ?> <?php if ( rashy_get_config('linkedin_share', 1) ): ?> <a class="bo-social-linkedin" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" href="http://linkedin.com/shareArticle?mini=true&url=<?php the_permalink(); ?>&title=<?php the_title(); ?>" target="_blank" title="<?php esc_attr_e('Share on LinkedIn', 'rashy'); ?>"> <i class="fab fa-linkedin-in"></i> </a> <?php endif; ?> <?php if ( rashy_get_config('tumblr_share', 1) ): ?> <a class="bo-social-tumblr" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" href="http://www.tumblr.com/share/link?url=<?php echo urlencode(get_permalink()); ?>&name=<?php echo urlencode($post->post_title); ?>&description=<?php echo urlencode(get_the_excerpt()); ?>" target="_blank" title="<?php esc_attr_e('Share on Tumblr', 'rashy'); ?>"> <i class="fab fa-tumblr"></i> </a> <?php endif; ?> <?php if ( rashy_get_config('pinterest_share', 1) ): ?> <?php $full_image = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full'); ?> <a class="bo-social-pinterest" data-toggle="tooltip" data-placement="<?php echo esc_attr($args['position']); ?>" data-animation="<?php echo esc_attr($args['animation']); ?>" href="http://pinterest.com/pin/create/button/?url=<?php echo urlencode(get_permalink()); ?>&description=<?php echo urlencode($post->post_title); ?>&media=<?php echo urlencode($full_image[0]); ?>" target="_blank" title="<?php esc_attr_e('Share on Pinterest', 'rashy'); ?>"> <i class="fab fa-pinterest-p"></i> </a> <?php endif; ?> </div> </div>