A
A
Andr2015-11-01 12:26:41
css
Andr, 2015-11-01 12:26:41

Page switch not working?

The page switcher does not work. It just creates several news items on one page and that's it.
Probably a problem in index.php Maybe not everything was registered. I work in wordpress

<?php get_header(); ?>
<?php get_sidebar(); ?>
    <div id="content">
                <h3 class="news">Добро пожаловать в салон Анастасии Корчуковой</h3>

  <?php if (have_posts()) : ?>
  <?php while (have_posts()) : the_post(); ?>


        <div class="box">
            <div id="rateYo" class="counter">
                    <h3 class="h3dec"><?php the_title(); ?></h3>
            </div>
                    <div id="h3decc"></div>
                    <h1 class="p"><?php the_excerpt(); ?> </h1>
                    <div class="news_info">
                    </div>       
        </div>
        <div class="dalee">
        <ul><li><a href="<?php the_permalink(); ?>">Продолжение<a href="#"></li></ul>
        </div>
        <div class="news_blog"></div>

  <?php endwhile; ?>
  <?php else: ?>
  <?php endif; ?>
         
    </div>

<nav id="<?php echo $html_id; ?>" class="navigation" role="navigation">
    <?php if ( function_exists( 'wp_pagenavi' ) ) wp_pagenavi(); ?>
</nav><!-- #<?php echo $html_id; ?> .navigation -->
         
<?php get_footer(); ?>
   <script src="jquery.js"></script>
  <script src="jquery.rateyo.js"></script>

5a9a5427623f46d0a2ec3744e0e11e1e.PNGfdaaa23596da461c97794b075297dbe7.PNG9558965453f74c119770b7723f333e8a.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pupkin, 2015-11-01
@dashademkova

God only knows what you are doing there =)
I just installed Wordpress, created 12 materials. The default was 10 per page, then I went to the settings (see the picture), set it to 3. Now there are 3 news on the 1st page, 3 on the other, and so on.
03ee3eed8c7a40b1978387b31d16bae9.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question