Comments CarlWilhelm started the conversationMay 22, 2020 at 8:37amHi.I have tried making a custom shortcode to have the year in my copyright at the footer change automatically.I added "include('custom-shortcodes.php');" in the functions.php file of the child theme, and made a file with custom shortcode (Se screenshot).When i add [copyrightyear] in the footer, it does not change, but it works on a page text.Can you enable the usage of shortcodes in the main theme, so i do not have to modify it with every update?Thank you. 675Neuron repliedMay 22, 2020 at 10:31pmHi Carl,There's a quicker solution for that, you can create a footer template and assign it for all pages.Go to Saved Templates > Footer and create a new template.You can add is a shortcode element. https://prnt.sc/sm234bThen you can assign it in Appearance > Customize > Footer > General.- https://prnt.sc/sm26yqFeel free to ask for anything you need.Kind Regards Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group. Sign in to reply ...
Hi.
I have tried making a custom shortcode to have the year in my copyright at the footer change automatically.
I added "include('custom-shortcodes.php');" in the functions.php file of the child theme, and made a file with custom shortcode (Se screenshot).
When i add [copyrightyear] in the footer, it does not change, but it works on a page text.
Can you enable the usage of shortcodes in the main theme, so i do not have to modify it with every update?
Thank you.
Hi Carl,
There's a quicker solution for that, you can create a footer template and assign it for all pages.
Go to Saved Templates > Footer and create a new template.
You can add is a shortcode element. https://prnt.sc/sm234b
Then you can assign it in Appearance > Customize > Footer > General.
- https://prnt.sc/sm26yq
Feel free to ask for anything you need.
Kind Regards
Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.