Пример #1
0
        ?>
<br />
							<?php 
        _e("created", "wpbootstrap");
        ?>
 <strong><time datetime="<?php 
        echo the_time('Y-m-j');
        ?>
" pubdate><?php 
        the_date();
        ?>
</time></strong> by <strong><?php 
        echo $exampleSource;
        ?>
</strong> <?php 
        echo bank106_twitter_credit_link($post->ID, '(', ')', 'exampletags');
        ?>
<br /><br />
							Number of views: <strong><?php 
        echo get_post_meta($post->ID, 'examples_visits', $single = true);
        ?>
</strong>
							</p>
						
							<p class="tags"><?php 
        echo get_the_term_list($post->ID, 'exampletags', 'Tags: ', ', ', '');
        ?>
</p>
						
						<hr />
							
Пример #2
0
                $the_real_permalink = get_post_meta($post->ID, 'syndication_permalink', true);
            } else {
                $the_real_permalink = get_permalink($post->ID);
            }
            ?>
							<li><a href="<?php 
            echo $the_real_permalink;
            ?>
" title="<?php 
            printf(esc_attr__('Permalink to %s', 'wpbootstrap'), the_title_attribute('echo=0'));
            ?>
" rel="bookmark"><?php 
            the_title();
            ?>
</a> (<?php 
            echo get_post_meta($post->ID, 'syndication_source', true) . bank106_twitter_credit_link($post->ID, ', ', '', 'exampletags');
            ?>
)<br />
							<?php 
            the_excerpt();
            ?>
</li>
						
							<?php 
        }
        ?>
						
							</ol>
							 <?php 
        wp_reset_query();
        ?>