Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="fb-root"></div>
- <script>(function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=1534250690198807";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
- <!-- Поместите этот вызов функции отображения в соответствующее место. -->
- <script type="text/javascript">
- window.___gcfg = {lang: 'ru'};
- (function() {
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
- po.src = 'https://apis.google.com/js/plusone.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
- })();
- </script>
- <?php global $theme; ?>
- <div <?php post_class('post post-single clearfix'); ?> id="post-<?php the_ID(); ?>">
- <h1 class="title"><?php the_title(); ?></h1>
- <div class="postmeta-primary">
- <span class="meta_date"><?php echo get_the_date(); ?></span>
- <span class="meta_categories"><?php the_category(', '); ?></span>
- <?php if(comments_open( get_the_ID() )) {
- ?> <span class="meta_comments"><?php comments_popup_link( __( 'No comments', 'themater' ), __( '1 Comment', 'themater' ), __( '% Comments', 'themater' ) ); ?></span><?php
- }
- if(is_user_logged_in()) {
- ?> <span class="meta_edit"><?php edit_post_link(); ?></span><?php
- } ?>
- </div>
- <div class="entry clearfix">
- <!— google_ad_section_start —>
- <?php
- the_content('');
- wp_link_pages( array( 'before' => '<p><strong>' . __( 'Pages:', 'themater' ) . '</strong>', 'after' => '</p>' ) );
- ?>
- <!— google_ad_section_end —>
- </div>
- <?php if(get_the_tags()) {
- ?><div class="postmeta-secondary"><span class="meta_tags"><?php the_tags('', ', ', ''); ?></span></div><?php
- }
- ?>
- <script src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js"></script>
- <script src="//yastatic.net/share2/share.js"></script>
- <div class="ya-share2" data-services="vkontakte,facebook,odnoklassniki,moimir,gplus,twitter,linkedin" data-counter=""></div>
- </div><!-- Post ID <?php the_ID(); ?> -->
- <?php
- if(comments_open( get_the_ID() )) {
- comments_template('', true);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement