Пропал подвал
-
Сменил тему на сайте! Но не наблюдаю подвала на сайте. Помогите решить проблему! Тема: GeneratePress
Страница, с которой нужна помощь: [войдите, чтобы увидеть ссылку]
-
Что авторы темы говорят?
А вот сейчас открыл файл footer.php, и это оказался файл со старой темы! Разве при смене темы все файлы не заменяются на новые?
Стоп. А как вы темы меняете?
Устанавливаю, и активирую! Со старой ничего не делаю! Вы наверное это имеете ввиду?
Подскажите как правильно?
Вы наверное это имеете ввиду?
Это. Просто при обычной установки темы файлы из старой темы ни как не могут попасть в каталог новой. Это даже не из мира фантастики, а из мира «то чего ваааааще не может быть.»
Но тем не менее:
<?php /** * The template for displaying the footer. * * Closes the <div> for #content, #content-main and #container, <body> and <html> tags. * * @package Graphene * @since 1.0Graphene */ global $graphene_settings; ?> <?php do_action( 'graphene_bottom_content' ); ?> </div><!-- #content-main --> <?php /* Sidebar 2 on the right side? */ if ( graphene_column_mode() == 'three_col_left' ){ get_sidebar( 'two' ); } /* Sidebar 1 on the right side? */ if ( in_array( graphene_column_mode(), array( 'two_col_left', 'three_col_left', 'three_col_center' ) ) ){ get_sidebar(); } ?> <?php do_action( 'graphene_after_content' ); ?> </div><!-- #content --> <?php /* Get the footer widget area */ ?> <?php get_template_part('sidebar', 'footer'); ?> <?php do_action('graphene_before_footer'); ?> <div id="footer" class="clearfix"> <?php if ( ! $graphene_settings['hide_copyright'] ) : ?> <div id="copyright"> <h3><?php _e('Copyright', 'graphene'); ?></h3> <?php if ( $graphene_settings['copy_text'] == '' && ! $graphene_settings['show_cc'] ) : ?> <p> <?php printf( '© %1$s %2$s.', date( 'Y' ), get_bloginfo( 'name' ) ); ?> </p> <?php elseif ( ! $graphene_settings['show_cc'] ) : ?> <?php if ( ! stristr( $graphene_settings['copy_text'], '</p>' ) ) { $graphene_settings['copy_text'] = wpautop( $graphene_settings['copy_text'] ); } echo $graphene_settings['copy_text']; ?> <?php endif; ?> <?php if ( $graphene_settings['show_cc'] ) : ?> <?php /* translators: %s will replaced by a link to the Creative Commons licence page, with "Creative Commons Licence" as the link text. */?> <p> <?php printf( __( 'Except where otherwise noted, content on this site is licensed under a %s.', 'graphene' ), '<a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">' . __( 'Creative Commons Licence', 'graphene' ) . '</a>' ); ?> </p> <p class="cc-logo"><span><?php _e( 'Creative Commons Licence BY-NC-ND', 'graphene' ); ?></span></p> <?php endif; ?> <?php do_action('graphene_copyright'); ?> </div> <?php endif; ?> <?php if ( has_nav_menu( 'footer-menu' ) || ! $graphene_settings['hide_return_top'] ) : ?> <div class="footer-menu-wrap"> <ul id="footer-menu" class="clearfix"> <?php /* Footer menu */ $args = array( 'container' => '', 'fallback_cb' => 'none', 'depth' => 2, 'theme_location' => 'footer-menu', 'items_wrap' => '%3$s' ); wp_nav_menu(apply_filters('graphene_footer_menu_args', $args)); ?> <?php if ( ! $graphene_settings['hide_return_top'] ) : ?> <li class="menu-item return-top"><a href="#"><?php _e('Return to top', 'graphene'); ?></a></li> <?php endif; ?> </ul> </div> <?php endif; ?> <?php if ( ! $graphene_settings['disable_credit'] ) : ?> <div id="developer" class="grid_7"> <p> <?php /* translators: %1$s is the link to WordPress.org, %2$s is the theme's name */ ?> <?php printf( __('', 'graphene'), '', '' . __('', 'graphene') . '</a>'); ?> </p> <?php do_action('graphene_developer'); ?> </div> <?php endif; ?> <!--noindex--> <center>Copyright © Playbody.Ru<br> Все права защищены 2011-2020</center> <center> <!--LiveInternet counter--><a href="//www.liveinternet.ru/click" target="_blank"><img id="licnt3B91" width="88" height="15" style="border:0" title="LiveInternet: показано число посетителей за сегодня" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAEALAAAAAABAAEAAAIBTAA7" alt=""/></a><script>(function(d,s){d.getElementById("licnt3B91").src= "//counter.yadro.ru/hit?t26.6;r"+escape(d.referrer)+ ((typeof(s)=="undefined")?"":";s"+s.width+"*"+s.height+"*"+ (s.colorDepth?s.colorDepth:s.pixelDepth))+";u"+escape(d.URL)+ ";h"+escape(d.title.substring(0,150))+";"+Math.random()}) (document,screen)</script><!--/LiveInternet--> <!-- Yandex.Metrika informer --> <a href="https://metrika.yandex.ru/stat/?id=45865698&from=informer" target="_blank" rel="nofollow"><img src="https://informer.yandex.ru/informer/45865698/1_0_FFFFFFFF_EFEFEFFF_0_uniques" style="width:80px; height:15px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (уникальные посетители)" class="ym-advanced-informer" data-cid="45865698" data-lang="ru" /></a> <!-- /Yandex.Metrika informer --> <!-- Top100 (Kraken) Counter --> <script> (function (w, d, c) { (w[c] = w[c] || []).push(function() { var options = { project: 3075523, }; try { w.top100Counter = new top100(options); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//st.top100.ru/top100/top100.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(window, document, "_top100q"); </script> <noscript> <img src="//counter.rambler.ru/top100.cnt?pid=3075523" alt="Топ-100" /> </noscript> <!-- END Top100 (Kraken) Counter --> <!-- Rating@Mail.ru counter --> <script type="text/javascript"> var _tmr = window._tmr || (window._tmr = []); _tmr.push({id: "2474046", type: "pageView", start: (new Date()).getTime()}); (function (d, w, id) { if (d.getElementById(id)) return; var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id; ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js"; var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);}; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "topmailru-code"); </script><noscript><div> <img src="//top-fwz1.mail.ru/counter?id=2474046;js=na" alt="" /> </div></noscript> <!-- //Rating@Mail.ru counter --> </center> <!--/noindex--> <?php do_action('graphene_footer'); ?> </div><!-- #footer --> <?php do_action('graphene_after_footer'); ?> </div><!-- #container --> <?php if (!get_theme_mod('background_image', false) && !get_theme_mod('background_color', false)) : ?> </div><!-- .bg-gradient --> <?php endif; ?> <?php wp_footer(); ?> </body> </html>
Старая тема Graphene, и с прописанными счетчиками! Вот и не может быть!
А сверху название файла:
Редактировать темы
GeneratePress: Подвал (footer.php)Это не фантастика, это потусторонние миры!
- Тема «Пропал подвал» закрыта для новых ответов.