Woo360 Theme shortcode for current date

As of Version 1.6.5 of the Woo360 Theme, you can insert a shortcode for current year or current date into text areas of Customizer (such as the footer) or in Woo360 layouts, as long as the Woo360 Theme is installed.

The basic shortcode is [fl_year], with a format parameter that accepts PHP date formats.

By default, format='Y', which means a four-digit year (2018). If you want to change to change to a two-digit year (18), use lower case 'y' as the value. See the following sections, the first for common use in the footer and the second for examples of date formats.

Theme footer example

Here's a screenshot example of combining text with the [fl_year] shortcode in a footer layout in the Woo360 Theme.

Choose Text for the layout type,then enter the text plus shortcode into the text box. In this example, it's testing 123 [fl-year]. A real example of a footer using this shortcode would be:

&copy;[fl_year] My Tiny Biz LLC

which would result in the following text, in which the year would always match the current year:

¬©2018 My Tiny Biz LLC

Other date examples

Refer to the PHP date formats page for a description of parameter values and the full set of parameters.

Tip: As long as you have the Woo360 Theme installed, you can use this shortcode in Woo360 (including Themer) layouts.

Code Example
[fl_year] 2018
[fl_year format="y"] 18
[fl_year format=‚ÄúF j, Y‚Äù] May 26, 2018
May 6, 2018
[fl_year format=‚Äúl, F j, Y‚Äù] Saturday, May 26, 2018
Sunday, May 6, 2018
[fl_year format=‚Äúm-d-Y‚Äù] 05-25-2018
[fl_year format=‚Äún-j-y‚Äù] 5-25-18
[fl_year format=‚Äúd.m.y‚Äù] 25.05.18