Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #773140

    Hello,

    I’m discovering your theme and it seems really nice :-) Tx
    Quick question: is there a shortcode to display the year automatically in the socket? I’ve seen a solution in your forum with function.php modification but at each theme update this modification will disappear? What is the quickest way to avoid forgetting to change the year each year.

    Tx for your anwser and have a nice day!
    Marine

    #773209

    Hello newki75,

    simply way to display automatically year in the socket is to install a plugin. Try to install that plugin (Automatic Copyright Year) and do that activate. Go on Enfold Theme Settings -> Footer -> Copyright and put that shortcode: <span>[wpsos_year]</span>. Also, you can put text before and after that shortcode. See the link http://imgur.com/a/tVuCF

    Thank you. i hope this may help you.

    #773210
    #773211

    OK, maybe it could be cool to integrate this feature in your theme like others do. I don’t want to download a plugin just for this, I try avoid plugins as much as I can, source of vulnerability and not really good for the site speed.

    #773214

    OK Yigit, I prefer this solution : do I have to create a child theme?

    #773216

    Hi!

    Not necessarily however if you do not use a child theme, you would need to re-add the code to functions.php file each time you update the theme :)

    Best regards,
    Yigit

    #775890

    OK thanks, I will update my date manually, one a year is less than updating functions file at each release :-) I’ve asked for this as new feature :-)
    You can close the issue now, tx !!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Current year auto in the socket’ is closed to new replies.