R
R
redasya2016-11-03 15:33:30
HTML
redasya, 2016-11-03 15:33:30

Wordpress site, how to remove Proudly Created by Wordpress?

How to remove the bottom bar from the bottom of the footer on the Wordpress site, which displays the top menu (yes, do not turn it off), the button that takes you to the top of the site, and the idiotic inscription "Proudly Created by Wordpress"? I tried to remove all the code from the footer, but then it disappeared from the top wordpressa admin line

<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the id=main div and all content after
 *
 * @package duena
 */
?>
      </div>
    </div>
  </div><!-- #main -->

  <footer id="colophon" class="site-footer" role="contentinfo">
    <div class="container">
      <div class="site-info col-md-12">
        <div class="footer-text">
          <?php 
          $footer_text = esc_attr(of_get_option('footer_text'));
          if ('' != $footer_text) {
            echo stripslashes(htmlspecialchars_decode($footer_text));
          } else { ?>
            <a href="http://wordpress.org/" title="<?php esc_attr_e( 'A Semantic Personal Publishing Platform', 'duena' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'duena' ), 'WordPress' ); ?></a>
          <?php } ?>
        </div>
        <?php if ('true' == of_get_option('footer_menu')) {
          wp_nav_menu( array( 
            'container'       => 'ul', 
                    'menu_class'      => 'footer-menu', 
                    'menu_id'         => 'footer-nav',
                    'depth'           => 0,
                    'theme_location' => 'footer' 
          ) ); 
        }
        ?>
        <div class="clear"></div>
        <div id="toTop"><i class="fa fa-chevron-up"></i></div>
      </div>
    </div>
  </footer><!-- #colophon -->
</div><!-- .page-wrapper -->

<?php wp_footer(); ?>
</body>
</html>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Vorotnev, 2016-11-03
@HeadOnFire

Remove only what is not needed from the footer. Insert the footer code into the question, I will tell you what to delete. The main thing is to leave the closing html tags and the line <?php wp_footer(); ?>- it is through it that scripts and styles are displayed in the basement, and some other useful things happen.

P
Pavel Perminov, 2016-11-03
@perminov_dot_im

grep -r texttodel wordpressfolder/*
and change or rub with your hands. In dryupal rolled this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question