Home Forums WoodMart support forum copyrights: year update automatically

copyrights: year update automatically

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #99684

    3DyourBaby
    Participant

    Dear Xtemos-Team.

    I wish you all the best for the new year.

    Short question:
    Is there a way to automate the year update in footer-copyright? (see screenshot)

    Thank you in advance.

    With best regards

    André

    Attachments:
    You must be logged in to view attached files.
    #99690

    Hello,

    Thank you very much for greetings. Christmas greetings and best wishes for the New Year from all our team! Let the coming year bring you only positive emotions and expectations!

    Unfortunately, there is no option and I have not even heard thereof. Try to search for a plugin.

    Best Regards

    #99703

    newsprince
    Participant

    @3DyourBaby

    Check this.

    https://stackoverflow.com/questions/20370582/display-current-year-in-wordpress

    You can create a function

    function currentYear( $atts ){
    return date(‘Y’);
    }
    add_shortcode( ‘year’, ‘currentYear’ );

    and then use the [year] shortcode anywhere you want.

    Put the code in functions.php file of child-theme or use the plugin

    https://wordpress.org/plugins/code-snippets/

    To add it from the backend

    #99719

    Hello,

    I am sure there are options for that either custom code or a plugin. I mean our theme does not have such and option and taking into consideration that we have not tested anything we cannot recommend anything.

    Best Regard

    #99792

    3DyourBaby
    Participant

    Dear Elise.

    Thank you for fast reply.
    Solution from newsprince works fine.
    (You can mark this thread as solved.)


    @newsprince
    : Thank you very much for your tip !!!

    With best regards

    André

    #99794

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘copyrights: year update automatically’ is closed to new replies.