Пример #1
0
/**
 * Displays the sharing dialog box on user's profile so
 * that people can easily get the embed code.
 *
 * @since 2.3.0
 */
function wp_idea_stream_users_sharing_button()
{
    // No need to carry on.
    if (!wp_idea_stream_is_embed_profile()) {
        return;
    }
    wp_idea_stream_users_embed_content_meta();
    // Print the sharing dialog
    print_embed_sharing_dialog();
    // Reset the post
    wp_idea_stream_users_embed_content_reset_post();
}
Пример #2
0
?>
>
	<header class="entry-header">
		<?php 
twentyfifteen_post_thumbnail();
get_template_part('parts/bread');
if (is_single()) {
    the_title('<h1 class="entry-title">', '</h1>');
} else {
    the_title(sprintf('<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h1>');
}
?>
		<div class="meta"><?php 
twentyfifteen_entry_meta();
?>
</div>
	</header>
	<section class="entry-content">
		<?php 
the_content(sprintf(__('Continue reading %s', 'twentyfifteen'), the_title('<span class="screen-reader-text">', '</span>', false)));
if (function_exists('print_embed_sharing_dialog')) {
    print_embed_sharing_dialog();
}
wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'twentyfifteen') . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . __('Page', 'twentyfifteen') . ' </span>%', 'separator' => '<span class="screen-reader-text">,</span>'));
?>
		<script type="text/javascript">jQuery(document).ready(function(){jQuery('code').each(function(i,block){hljs.highlightBlock(block);});});</script>
	</section>
	<?php 
get_sidebar('8');
?>
</article>