Thank you for this shortcode solution. I was so tired of editing the php files and having my edits deleted with every theme update. This short code works exactly as expected.
Works great with Beaver Builder footer code and everywhere else I've tested it. Simple, effective, no problems.
This bad boy works like a charm on all of my sites! Within one minute, you will update your copyright and be relieved to know you'll never have to do so again.
I was going to write my own Shortcode to do this .. and now I don't have to, thanks to you!
For anyone interested, it's very simple to alter the Shortcode names to something a bit less simplistic. All that's needed is to edit a single file "jonradio-current-year-and-copyright-shortcodes.php" and change THREE lines as follows:
#1 BEFORE: add_shortcode( 'y', 'jr_cy_y' ); AFTER: add_shortcode( 'jrsc_curryear', 'jr_cy_y' ); #2 BEFORE: add_shortcode( 'c', 'jr_cy_c' ); AFTER: add_shortcode( 'jrsc_copyright', 'jr_cy_c' ); #3 BEFORE: add_shortcode( 'cy', 'jr_cy_cy' ); AFTER: add_shortcode( 'jrsc_both', 'jr_cy_cy' );
Once you've completed this change, you can use the new Shortcode names:
jrsc_curryear - current year jrsc_copyright - copyright symbol jrsc_both - copyright symbol + space + current year
Hope this helps!
I was going to write one of these myself but found this lovely individual did it already. Sure saved me some time!
wanted it for the Enfold theme - works beautifully
Nothing to say... clean, fast, safe.
Thank you Jonradio!
Simple and exactly what I needed!! I put the shortcode in the themes admin footer area and it worked perfectly without any code editing! Yay!
You must log in to submit a review. You can also log in or register using the form near the top of this page.