wp/wp-content/themes/themeforest-2964855-scrn-responsive-single-page-portfolio/SCRN/single.php
changeset 8 c7c34916027a
parent 7 cf61fcea0001
child 9 177826044cd9
equal deleted inserted replaced
7:cf61fcea0001 8:c7c34916027a
     1 <?php 
       
     2 
       
     3 get_header();
       
     4 
       
     5 the_post(); 
       
     6 
       
     7 ?>
       
     8 
       
     9  <div class="bg" style="text-align: left">
       
    10 
       
    11     <div class="container">
       
    12 
       
    13             <h2><span class="lines"><?php $top_title = get_post_meta($post->ID, 'top_title', true); if($top_title != '') echo $top_title; else the_title();?></span></h2>
       
    14 
       
    15             <p class="singlemeta">
       
    16 
       
    17                 <?php _e('Posted on', 'SCRN');?> 
       
    18 
       
    19                 <?php the_time("d M Y");?> 
       
    20 
       
    21                 in <?php the_category(', ') ?> | 
       
    22 
       
    23                 <?php comments_popup_link(esc_html__('0 comments','Tharsis'), esc_html__('1 comment','Tharsis'), '% '.esc_html__('comments','Tharsis')); ?>
       
    24 
       
    25             </p>
       
    26 
       
    27             <div class="single">
       
    28 
       
    29                   <?php the_content();?>
       
    30 
       
    31                   <?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','Tharsis').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
       
    32 
       
    33                   <div class="tags">
       
    34 
       
    35                      <?php the_tags(esc_attr('Tags: ', 'SCRN') . '<div class="button1">', '</div> <div class="button1">', '</div><br />'); ?> 
       
    36 
       
    37                   </div>
       
    38 
       
    39                   <?php 
       
    40 
       
    41                   edit_post_link(); 
       
    42 
       
    43                   comments_template('', true);?>
       
    44 
       
    45              </div>
       
    46 
       
    47     </div>
       
    48 
       
    49 </div>
       
    50 
       
    51 <?php get_footer();?>