Customizing Footer
-
Hello,
I’ve added a dashboard customizer tool so that users can customize the footer on my theme using:
<footer id=”colophon” class=”site-footer” role=”contentinfo”>
<div class=”site-info”>
<?php echo get_theme_mod( ‘copyright_textbox’, ‘No copyright information has been saved yet.’ ); ?>
</div><!– .site-info –></footer><!– #colophon –>
BUT I want my default footer to be the default wordpress footer which looks more like:
<footer id=”colophon” class=”site-footer” role=”contentinfo”>
<div class=”site-info”>
“><?php printf( __( ‘Proudly powered by %s’, ‘THEMESLUG’ ), ‘WordPress’ ); ?>
<span class=”sep”> | </span>
<?php printf( __( ‘Theme: %1$s by %2$s.’, ‘AC’ ), ‘THEMENAME’, ‘Underscores.me‘ ); ?>
</div><!– .site-info –>
</footer><!– #colophon –>How do I replace “No copyright information has been saved yet.’ with the default wordpress footer??
Thanks,
- The topic ‘Customizing Footer’ is closed to new replies.