› News › Web Development
 › Keep the year in your website footer up to date – How to
   -   6 January, 2020

Keep the year in your website footer up to date – How to

Learn how to always keep the copyright year up to date in your website footer - keeping you from coming back to update it every year!

Place this code within the functions.php file of your child theme:

// Display Current Year Shortcode
 function year_shortcode() {
   $year = date('Y');
   return $year;
 } add_shortcode('year', 'year_shortcode');

Then, where you want to display the current year, place 2020.

CATEGORIES
POPULAR ARTICLES
How to install your beautiful new email signature
How to install your beautiful new email signature

Displaying a beautifully designed new email signature in your emails can help elevate your business and help your potential clients take you seriously. A custom-designed email signature can have a call to action to drive sales. It can be used to inform your clients on...

Are you eligible for a $3000 Small Business Recovery Grant?
Are you eligible for a $3000 Small Business Recovery Grant?

NSW eligible small businesses, not-for-profits, and other business types that have fewer than 20 Full Time Equivalent (FTE) staff (including non-employing businesses, such as sole traders) as at 1 March 2020 can apply for recovery grants from $500 to $3,000. There's...

5 Ways to Improve the SEO of your website
5 Ways to Improve the SEO of your website

Aussies like to be well informed before parting with their hard-earned cash. In Australia, 84% of consumers will check out research online before making a purchase or using your service. This means your website not only has to sell the right goods but also answer the...

TAGGED WITH

//

We want to hear what you think about this article, or what you would like us to write about next! Submit a comment below or write to us at hello@studiotwofold.com.au.
Studio Twofold provides creative design services and advice to growing Australian businesses to help them feel confident and kick goals. Learn more about us.

READ THESE NEXT

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Want to talk?

Our process begins with a conversation about your business and how we can help.