web/wp-content/themes/inove/twitter.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <?php
       
     2 /*
       
     3 Template Name: Twitter
       
     4 */
       
     5 ?>
       
     6 
       
     7 <?php get_header(); ?>
       
     8 <?php $options = get_option('inove_options'); ?>
       
     9 
       
    10 <?php if (have_posts()) : the_post(); update_post_caches($posts); ?>
       
    11 
       
    12 	<div class="post" id="post-<?php the_ID(); ?>">
       
    13 		<h2><?php the_title(); ?></h2>
       
    14 		<div class="info">
       
    15 			<span class="date"><?php the_modified_time(__('F jS, Y', 'inove')); ?></span>
       
    16 			<?php edit_post_link(__('Edit', 'inove'), '<span class="editpost">', '</span>'); ?>
       
    17 			<?php if ($comments || comments_open()) : ?>
       
    18 				<span class="addcomment"><a href="#respond"><?php _e('Leave a comment', 'inove'); ?></a></span>
       
    19 				<span class="comments"><a href="#comments"><?php _e('Go to comments', 'inove'); ?></a></span>
       
    20 			<?php endif; ?>
       
    21 			<div class="fixed"></div>
       
    22 		</div>
       
    23 		<div class="content">
       
    24 			<div class="twitter-tweedles">
       
    25 				<?php
       
    26 					if (function_exists('thread_twitter')) {
       
    27 						thread_twitter();
       
    28 					}
       
    29 				?>
       
    30 			</div>
       
    31 		</div>
       
    32 	</div>
       
    33 
       
    34 <?php else : ?>
       
    35 	<div class="errorbox">
       
    36 		<?php _e('Sorry, no posts matched your criteria.', 'inove'); ?>
       
    37 	</div>
       
    38 <?php endif; ?>
       
    39 
       
    40 <?php get_footer(); ?>