Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="content">
- <h2> <class='page-title'>Cтраница: <?php the_title(); ?></h2>
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <div class="post-main">
- <h1><?php the_title(); ?> <span>(<?php the_time('j.m.Y'); ?>)</span></h1>
- <div class="post">
- <?php the_content(); ?>
- </div>
- </div>
- <?php endwhile; ?>
- <!-- post navigation -->
- <?php else: ?>
- <!-- no posts found -->
- <?php endif; ?>
- </div>
- <?php get_sidebar(); ?>
- </div>
- <?php get_footer(); ?>
- .page-title{
- margin:0 0 20px 0;
- color: #3F282F;
- font: 20px Verdana;
- border-bottom: 1px dashed #ccc;
- }
- [![скриншот page.php][1]][1]
- [1]: https://i.stack.imgur.com/40oNA.png
Add Comment
Please, Sign In to add comment