Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- the_title() - выводит заголовок
- the_time() - выводит время публикации записи
- the_category() - выводит категорию записи
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> - выводит текст если нет записей
- <?php endif; ?>
Add Comment
Please, Sign In to add comment