# 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.

- Type: Universal
- Runs: Site-wide footer
- Category: [Frontend & Design](https://wpide.com/library/category/frontend/)
- Tags: footer, copyright, universal
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/copyright-footer-line/

## Code

```php
<div class="wpide-copyright" style="text-align:center;padding:1em 0;font-size:14px;">
    &copy; <?php echo esc_html( wp_date( 'Y' ) ); ?> <?php echo esc_html( get_bloginfo( 'name' ) ); ?>. All rights reserved.
</div>
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Copyright Line in the Footer" in its snippet library and add it in one click; or create a new Universal snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
