Skip to content
Oliver Harrison edited this page Jun 24, 2022 · 1 revision

Shortcodes

wd_s offers a single (at the moment) Shortcode for you to use in your themes. Feel free to add more shortcodes as needed.

Copyright Year Shortcode

create_shortcode_copyright_year

Creates a Shortcode to display copyright year.

Usage:

[wds_copyright_year]
[wds_copyright_year starting_year="2010" separator=""]
[wds_copyright_year starting_year="2015" separator=" / "]

Output:

2018
20102018
2015 / 2018

Location: /inc/shortcodes/create-shortcode-copyright-year.php