$post_link,
),
'https://www.facebook.com/sharer/sharer.php'
)
);
$twitter_url =
esc_url(
add_query_arg(
array(
'status' => wp_strip_all_tags( $post_title ) . ' - ' . esc_url( $post_link ),
),
'https://twitter.com/home'
)
);
$google_url =
esc_url(
add_query_arg(
array(
'url' => $post_link,
),
'https://plus.google.com/share'
)
);
$social_links = '
';
echo apply_filters( 'hestia_filter_blog_social_icons', $social_links );
}
/**
* Single post after article.
*/
public function post_after_article() {
global $post;
$categories = get_the_category( $post->ID );
?>
' . esc_html__( 'Tags: ', 'hestia' ) . '
', ' ', ' ' ); ?>
maybe_render_author_box();
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
ID,
'category',
array(
'fields' => 'ids',
)
);
$args = array(
'posts_per_page' => 3,
'cat' => $cats,
'orderby' => 'date',
'ignore_sticky_posts' => true,
'post__not_in' => array( $post->ID ),
);
$allowed_html = array(
'br' => array(),
'em' => array(),
'strong' => array(),
'i' => array(
'class' => array(),
),
'span' => array(),
);
$loop = new WP_Query( $args );
if ( $loop->have_posts() ) :
?>
have_posts() ) :
$loop->the_post();
?>
';
if ( is_customize_preview() ) {
dynamic_sidebar( 'sidebar-top-bar' );
dynamic_sidebar( 'header-sidebar' );
dynamic_sidebar( 'subscribe-widgets' );
dynamic_sidebar( 'sidebar-big-title' );
}
echo '';
}
}