Shortcodes are small snippets of text that enable you to achieve complex functionality without writing the code into the content everytime (not that wp-editor allows code execution either). Shortcodes come in handy when you quickly need to setup some content on your site without the need of writing it up entirely yourself.
Your WordPress site’s footer is one critical area that is often the most overlooked. Not only does the footer provide information about the owner, brand but also the copyrights and other links that have great utility. With most themes you’d have to go and edit the code to customize the footer. However things are different and very easy when using the Genesis Framework from Studiopress. There’s a nifty little plugin called Genesis Footer Builder that facilitates this with the Genesis shortcodes and helps you customize the footer of your site just the way you want it. It also comes with some of it’s own shortcodes built-in. So what shortcodes do you have in your arsenal to deploy?
Here’s the list of footer shortcodes offered by Genesis which can be used in the Genesis Footer Builder plugin to customize the footer text. (If you are feeling adventurous, go ahead and edit your child-theme and include these shortcodes as needed)
-
Defaults to: [footer_copyright]
This shortcode outputs the copyright symbol (©) followed by the current year. It also allows additional attributes that can be used to customize the default shortcode output.
Additional attributes available to customize the default shortcode output are first, before, after.
Here’s an example to demonstrate the use of attributes for this shortcode
[[footer_copyright copyright="Copyright" first="2010" before="© " after=" • All Rights Reserved"]]
will output
[footer_copyright copyright="Copyright" first="2010" before="© " after=" • All Rights Reserved"]
-
This shortcode outputs the child theme link. This shortcode fetches and outputs the theme URI from the child theme’s style.css, if supported by the child theme. Additional attributes available to customize the default shortcode output are before, after.
Here’s an example to demonstrate the use of attributes for this shortcode
[[footer_childtheme_link before="Powered by " after=" •"]]
will output
[footer_childtheme_link before="Powered by " after=" •"]
-
Defaults to: [footer_genesis_link]
This shortcode outputs the genesis theme link. This can be used as the credit link to Genesis in the site footer. Additional attributes available to customize the default shortcode output are before, after.
Here’s an example to demonstrate the use of attributes for this shortcode
[[footer_genesis_link before="Developed on " after=" •"]]
will output
[footer_genesis_link before="Developed on " after=" •"]
-
Defaults to: [footer_studiopress_link]
This shortcode outputs the link to Studiopress. Typically used as the credit link to Studiopress. Additional attributes available to customize the default shortcode output are before, after.
Here’s an example to demonstrate the use of attributes for this shortcode
[[footer_studiopress_link before="" after=" developed Genesis."]]
will output
[footer_studiopress_link before="" after=" developed Genesis."]
-
Defaults to: [footer_wordpress_link]
This shortcode outputs the link to WordPress.org. It can be used as the credit link to WordPress in the site footer. Additional attributes available to customize the default shortcode output are before, after.
Here’s an example to demonstrate the use of attributes for this shortcode
[[footer_wordpress_link before="Proudly powered on " after=" |"]]
will output
[footer_wordpress_link before="Proudly powered on " after=" |"]
-
This shortcode outputs the log-in / log-out link. If the user is already logged-in, the shortcode outputs a log-out link and outputs a log-in link if the user is not already logged-in. Additional attributes available to customize the default shortcode output are redirect, before, after.
Here’s an example to demonstrate the use of attributes for this shortcode
[[footer_loginout redirect="https://www.converticacommerce.com/genesis-developer" before="Login/Logout here: " after=" |"]]
will output
[footer_loginout redirect="https://www.converticacommerce.com/genesis-developer" before="Login/Logout here: " after=" |"]
A customized footer is a must for a professional website. It not only displays important information about the site but also comes handy and provides additional utility links like a footer menu linking to your about, contact, sitelink pages and more. Have you customized your footer yet?