Make our Copyright Dynamic

Finally, let’s make our footer copyright year dynamic using PHP. If you look in footer.php you can see that the Dreamrs theme accomplishes this using JavaScript. It’s certainly a solution, but since we have access to a server-side language like PHP we can take a clunky solution like this:

and turn it into this:

Was this information useful?
Thank you for your feedback.

Could this page use improvement? Edit it!

Edit Page