Поддержка Темы и шаблоны Не отображается правый sidebar.Тема Customizr 3.1.19

  • Доброго времени суток.
    На главной странице сайта (sibotdelka.ru) не отображается правый sidebar, тема Customizr 3.1.19.
    При этом на остальных страничках сайта правый sidebar отображается корректно. Слайдер в шапке и картинки под ним, код шаблона… возможно с ним какая то беда?

Просмотр 4 ответов — с 1 по 4 (всего 4)
  • На главной странице сайта

    Возможно, у Вас такой шаблон для главной, посмотрите в админпанели
    В средине статьи иерархия шаблонов

    Насколько я понял за вывод главной странички отвечает файл index.php?
    в структуре уже присутствуют
    sidebar-left.php
    sidebar-right.php

    <?php
    dynamic_sidebar( 'right' );
    
    ?>

    В php я слабо разбираюсь, подскажите пожалуйста как в index.php добавить правый sidebar?

    <?php
    /**
     * The main template file. Includes the loop.
     *
     *
     * @package Customizr
     * @since Customizr 1.0
     */
    ?>
    <?php do_action( '__before_main_wrapper' ); ##hook of the header with get_header ?>
    <div id="main-wrapper" class="<?php echo tc__f( 'tc_main_wrapper_classes' , 'container' ) ?>">
    
        <?php do_action( '__before_main_container' ); ##hook of the featured page (priority 10) and breadcrumb (priority 20)...and whatever you need! ?>
    
        <div class="container" role="main">
            <div class="<?php echo tc__f( 'tc_column_content_wrapper_classes' , 'row column-content-wrapper' ) ?>">
    
                <?php do_action( '__before_article_container'); ##hook of left sidebar?>
    
                    <div id="content" class="<?php echo tc__f( '__screen_layout' , tc__f ( '__ID' ) , 'class' ) ?> article-container">
    
                        <?php do_action ('__before_loop');##hooks the header of the list of post : archive, search... ?>
    
                            <?php if ( tc__f('__is_no_results') || is_404() ) : ##no search results or 404 cases ?>
    
                                <article <?php tc__f('__article_selectors') ?>>
                                    <?php do_action( '__loop' ); ?>
                                </article>
    
                            <?php endif; ?>
    
                            <?php if ( have_posts() && !is_404() ) : ?>
                                <?php while ( have_posts() ) : ##all other cases for single and lists: post, custom post type, page, archives, search, 404 ?>
                                    <?php the_post(); ?>
    
                                    <?php do_action ('__before_article') ?>
                                        <article <?php tc__f('__article_selectors') ?>>
                                            <?php do_action( '__loop' ); ?>
                                        </article>
                                    <?php do_action ('__after_article') ?>
    
                                <?php endwhile; ?>
    
                            <?php endif; ##end if have posts ?>
    
                        <?php do_action ('__after_loop');##hook of the comments and the posts navigation with priorities 10 and 20 ?>
    
                    </div><!--.article-container -->
    
               <?php do_action( '__after_article_container'); ##hook of left sidebar ?>
    
            </div><!--.row -->
        </div><!-- .container role: main -->
    
        <?php do_action( '__after_main_container' ); ?>
    
    </div><!--#main-wrapper"-->
    
    <?php do_action( '__after_main_wrapper' );##hook of the footer with get_get_footer ?>

    Админпанель:
    Настроить тему
    Слева меню -> главная страница
    Настроек для главной в Вашей теме много-премного, в т.ч. с двумя сайдбарами.

    Спасибо. Все как всегда просто:)

Просмотр 4 ответов — с 1 по 4 (всего 4)
  • Тема «Не отображается правый sidebar.Тема Customizr 3.1.19» закрыта для новых ответов.