پاسخ به : سوال درمورد تگ H1

#5872

سید حامد حسینی
سرپرست کل

`<?php get_header(); ?>
<div class=”container-fluid”>
<div id=”top-3-slice” class=”row”>
<div class=”container”>
<div class=”row”>

<?php get_sidebar(); ?>

<div id=”slider” class=”col-lg-9 col-sm-9″>
<div class=”slider-p single-post col-lg-12 col-sm-12″>
<div class=”single-post-container col-lg-12 col-sm-12″>
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<div class=”single-img”>
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail(‘small’,array(‘class’ => ‘img-thumbnail’));
}
?>
</div>

<div class=”single-post-text”>
<?php the_content(); ?>
</div>

<div class=”post-tags”>
<h2>برچسب ها</h2>
<?php the_tags(”) ?>
</div>

<div class=”post-comment”>
<?php comments_template(‘/comments.php’); ?>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

<?php get_footer(); ?>