Copyright Line in the Footer
Prints a centered "© year Site Name. All rights reserved." line at the bottom of every page, with the year updated automatically.
Opens WPIDE on
Code
<div class="wpide-copyright" style="text-align:center;padding:1em 0;font-size:14px;">
© <?php echo esc_html( wp_date( 'Y' ) ); ?> <?php echo esc_html( get_bloginfo( 'name' ) ); ?>. All rights reserved.
</div>
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.