Поддержка → Проблемы и решения → проблемы с сайдбаром
проблемы с сайдбаром
-
Стоит тема «Adventure». В настройках темы можно убрать сайдбар, но когда я выбираю это, то он не исчезает. Хотел убрать его мануально, удалив <PHP get_sidebar ();?> в коде, но ни в page.php, ни в index.php такой строчки нет. Нет даже упоминания о нем. Удалил его описание в style.css, и после этого сайт моментально поломался. Сайт http://problemademographiimira.ru .
Код page.php:<?php get_header(); while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('contents'); ?>> <?php if ( get_theme_mod('display_post_title_setting') != 'off' ) : ?> <h4><?php if ( get_the_title() ) { the_title(); } else { _e('(No Title)', 'localize_adventure'); } ?></h4> <?php endif; the_content(); ?> <span class="tag"> <?php wp_link_pages(); ?><br> <?php if (get_theme_mod('author_setting') != 'off') : _e(' by ', 'localize_adventure'); the_author_posts_link(); echo ' '; endif; if (get_theme_mod('commentsclosed_setting') != 'off') : if ((get_theme_mod('comments_setting') != 'none') || (get_theme_mod('comments_setting') != 'single')) : if (comments_open()) : _e('with ', 'localize_adventure'); comments_popup_link( __('no comments yet', 'localize_adventure'), __('1 comment', 'localize_adventure'), __('% comments', 'localize_adventure'), 'comments-link', __('comments disabled', 'localize_adventure')); _e('.', 'localize_adventure'); endif; endif; endif; ?> </span> </div> <?php if (!is_home() && (get_theme_mod('comments_setting') != 'none') && (get_theme_mod('comments_setting') != 'single')) : comments_template(); endif; endwhile; get_footer(); ?>
Может он как-нибудь завуалировано подключается. Надеюсь на вашу помощь, т.к. уже долго и безрезультатно бьюсь с этим.
- Тема «проблемы с сайдбаром» закрыта для новых ответов.