Я создаю слово pres theme и обнаружил, что форматирование не работает. Например, если я строю простой список в сообщении.Форматирование шаблона страницы Wordpress не работает
<ul>
<li>one</li>
<li>two</li>
</ul>
Это работает, но когда я пробую его через страницу, его доза не применяет элемент списка или любой другой элемент.
Я понятия не имею, почему моя страница не получает никакого форматирования
single.php
**<?php get_header(); ?>
<div class="row">
<div class="col-sm-12">
<?php
if (have_posts()) : while (have_posts()) : the_post();
get_template_part('content-single', get_post_format());
if (comments_open() || get_comments_number()) :
comments_template();
endif;
endwhile; endif;
?>
</div> <!-- /.col -->
</div> <!-- /.row -->
<?php get_footer(); ?>**
content_single.php
<div class="blog-post">
<h2 class="blog-post-title"><?php the_title(); ?></h2>
<p class="blog-post-meta"><?php the_date(); ?> by <a href="#"><?php the_author(); ?></a></p>
<?php the_content(); ?>
<?php if (has_post_thumbnail()) {
the_post_thumbnail();
} ?>
//////////// И страница /////////////////////
page.php
<?php get_header(); ?>
<div class="row">
<div class="col-sm-12">
<?php
if (have_posts()) : while (have_posts()) : the_post();
get_template_part('content', get_post_format());
endwhile; endif;
?>
</div> <!-- /.col -->
</div> <!-- /.row -->
<?php get_footer(); ?>
content.php
<div class="blog-post">
<h2 class="blog-post-title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</h2>
<p class="blog-post-meta">
<?php the_date(); ?>by <a href="#"><?php the_author(); ?></a>
<a href="<?php comments_link(); ?>">
<?php printf(_nx('One Comment', '%1$s Comments', get_comments_number(), 'comments title', 'textdomain'), number_format_i18n(get_comments_number())); ?>
</a>
</p>
<?php if (has_post_thumbnail()) {?>
<div class="row">
<div class="col-md-4">
<?php the_post_thumbnail('thumbnail'); ?>
</div>
<div class="col-md-6">
<?php the_excerpt(); ?>
</div>
</div>
<?php } else { ?>
<?php the_excerpt(); ?>
<?php } ?>
</div><!-- /.blog-post -->