wp/wp-content/themes/themeforest-2964855-scrn-responsive-single-page-portfolio/SCRN/page.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                 <?php comments_popup_link(esc_html__('0 comments','Tharsis'), esc_html__('1 comment','Tharsis'), '% '.esc_html__('comments','Tharsis')); ?>
       
    22 
       
    23             </p>
       
    24 
       
    25             <div class="single">
       
    26 
       
    27                   <?php the_content();?>
       
    28 
       
    29                   <?php 
       
    30 
       
    31                   edit_post_link(); 
       
    32 
       
    33                   comments_template('', true);?>
       
    34 
       
    35              </div>
       
    36 
       
    37     </div>
       
    38 
       
    39 </div>
       
    40 
       
    41 <?php get_footer();?>