注册 登录
编程论坛 PHP技术论坛

请问怎么删除下面页脚的一行模板自带广告?这是footer.php

mcj321 发布于 2018-05-26 12:32, 2712 次点击
程序代码:
<?php
/**

 * The template for displaying the footer

 *

 * Contains the closing of the #content div and all content after.

 *

 * @link https://developer.*

 * @package cenote

 
*/

?>
        </div><!-- .tg-container -->
    </div><!-- #content -->

    <?php
    // Show related post if enabled.
    if ( true === get_theme_mod( 'cenote_single_enable_related_post', true ) && is_single() ) {
        get_template_part( 'template-parts/related/related', 'post' );
    }
    ?>
    <footer id="colophon" class="site-footer tg-site-footer <?php cenote_footer_class(); ?>">
        <div class="tg-footer-top">
            <div class="tg-container">
                <?php get_sidebar( 'footer' ); ?>
            </div>
        </div><!-- .tg-footer-top -->

        <div class="tg-footer-bottom">
            <div class="tg-container">
                <div class="tg-footer-bootom-container">
                    <div class="tg-footer-bottom-left">
                        <?php get_template_part( 'template-parts/footer/footer', 'info' ); ?>
                    </div><!-- .tg-footer-bottom-left -->
                    <div class="tg-footer-bottom-right">
                    </div><!-- .tg-footer-bottom-right-->
                </div><!-- .tg-footer-bootom-container-->
            </div>
        </div><!-- .tg-footer-bottom -->
    </footer><!-- #colophon -->

</div><!-- #page -->
<?php
do_action( 'cenote_after_footer' );
wp_footer();
?>

</body>
</html>

只有本站会员才能查看附件,请 登录
0 回复
1