viniciusnw
11/21/2016 - 12:58 PM

Compartilhamento redes socias

Compartilhamento redes socias

/**
 * Botões de Compartilhamento
 */
$share_url   = get_permalink();
$share_title = get_the_title();

$post_id     = get_the_id();
$thumb_id    = get_post_thumbnail_id( $post_id );
$thumb_url   = wp_get_attachment_image_src( $thumb_id, 'thumbnail', true );
$share_media = $thumb_url[0];

foundation_q_the_share_buttons( $share_url, $share_title, $share_media );