Skip to content
  • Home
  • Services
  • Projects
  • About
  • News
  • Contact
Studio Twofold Logo

Home → News & Resources → Web Development

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!

By admin@studiotwofold
January 6, 2020
Web Development
Keep the year in your website footer up to date – How to

Featured

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 [year].

Post Tags: #code#development#divi#php#shortcode#Websites#wordpress

Post navigation

NextContinue
Backing up your WordPress Website – How to

Similar Posts

Stop spam in WordPress: How to (Updated for 2020)
Web Development

Stop spam in WordPress: How to (Updated for 2020)

Read More Stop spam in WordPress: How to (Updated for 2020)Continue

Create buttons with rounded corners for emails – How to
Web Development

Create buttons with rounded corners for emails – How to

Read More Create buttons with rounded corners for emails – How toContinue

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

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

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

WordPress 5.9 – Full Site Editing is here
Web Development

WordPress 5.9 – Full Site Editing is here

Read More WordPress 5.9 – Full Site Editing is hereContinue

Backing up your WordPress Website – How to
Resources | Web Development

Backing up your WordPress Website – How to

Read More Backing up your WordPress Website – How toContinue

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

5 Ways to Improve the SEO of your website

Read More 5 Ways to Improve the SEO of your websiteContinue

Leave a Reply Cancel reply

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


CATEGORIES
  • Branding
  • Design
  • Marketing
  • Resources
  • SEO
  • Web Development

RECOMMENDED READING
  • WordPress 5.9 – Full Site Editing is here
  • The best free stock image websites for your designs
  • How to install your beautiful new email signature
  • Are you eligible for a $3000 Small Business Recovery Grant?
  • 5 Ways to Improve the SEO of your website

Stay in the loop —

Subscribe to our sometimes but not too often email updates on things you need to know – and you may get some secret freebies to boot!

Studio Twofold Logo
  • Services
  • News
  • About
  • Projects
  • Contact

© 2022 Studio Twofold Pty Ltd, with ♥ from Sydney, Australia. Privacy Policy. Sitemap.

Scroll to top
  • Home
  • Services
  • Projects
  • About
  • News
  • Contact