<?php // Define the start year and get the current year $start_year = 2020; // Replace with your start year $current_year = date('Y'); ?> <p>© <?php echo $start_year; ?><?php if ($start_year != $current_year) echo '-' . $current_year; ?> <?php bloginfo('name'); ?>. Minden jog fenntartva.</p>