New Topic

Copyright Wording: Current Date

Home › Forum › Customization › Copyright Wording: Current Date

This topic contains 3 replies, has 2 voices, and was last updated by  StartupWP 5 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1003

    andrea
    Participant

    I am using the StartUP Pro Theme and am trying to enter:

    © 2005 – current date.
    For the automatic current date, I’ve tried:

    © 2005-<?php echo date(“Y”) ?> but that does not work. I only see copyright 2005 – [and then nothing where the current year should be]

    How can I get the current year in my footer so it automatically updates?

    #1004

    StartupWP
    Keymaster

    Absolutely, you just need to make sure to use the shortcode instead:

    © 2005-[sp-php] echo date("Y"); [/sp-php]

    See https://startupwp.com/demo/shortcodes/

    #1005

    andrea
    Participant

    Sorry, but I cannot get it to work. I tried the code you provided in this post and what I found on the Shortcodes page, but it doesn’t work:
    http://diveschool2.theconsortium.org/

    What am I missing?

    #1007

    StartupWP
    Keymaster

    These new features are in the latest StartupPro, however it looks like you’re not using a child theme or the main parent theme, but a custom theme based on StartupPro and manually maintaining it, is that correct?

    That’s fine, but what you’ll then need to do instead is manually edit the footer.php file and add your copyright line manually (now going back to the traditional PHP usage).

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

You must be logged in to reply to this topic.