Auto Update Footer Year

Discussion in 'Smartbooking-Appointment Booking WordPress Theme.' started by dmedia, Aug 11, 2016.

Thread Status:
Not open for further replies.
  1. dmedia

    dmedia Member

    Joined:
    Dec 6, 2013
    Messages:
    164
    Likes Received:
    4
    Hi - Whenever I add a date to the footer in my sites, I always add this code to make the date auto-update every year:

    <script type="text/javascript">
    document.write(new Date().getFullYear());
    </script>

    I added this to the Footer using the InkTheme options. But it showed up as text, didn't take the code. Any advice?

    MDXfreight.com - You will need to login to view. Maybe you can advise generically how to do this?
     
  2. priya

    priya Guest

    Hi,

    Greetings from InkThemes!

    I have checked this code at our end and it works perfectly as it should be..

    You are suggested to clear your cache and check the code after that..

    Hope it will resolve your issue.

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  3. dmedia

    dmedia Member

    Joined:
    Dec 6, 2013
    Messages:
    164
    Likes Received:
    4
    Please see screen shot attached. Shows that the Theme is not taking the code. It is displaying the code as text, not as code. Is there some way to fix this?
     

    Attached Files:

  4. priya

    priya Guest

    Hello Ross,

    Would you please deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    Hope it will resolve your issue

    If still will not resolve your issue, please send us your dashboard details at [email protected] along with this thread link so that we can figure out the issue and able to resolve that..

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  5. dmedia

    dmedia Member

    Joined:
    Dec 6, 2013
    Messages:
    164
    Likes Received:
    4
    Hi - I have sent you login on another issue. Will resend.
     
  6. priya

    priya Guest

    Thanks for the details..

    We will get back to you soon..

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  7. priya

    priya Guest

    Hi,

    You would be glad to know that your issue has been resolved..

    Kindly check your site and acknowledge the same..

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  8. dmedia

    dmedia Member

    Joined:
    Dec 6, 2013
    Messages:
    164
    Likes Received:
    4
    Hi - the footer year date seems to be working now. Thank you for going in and fixing it!
     
  9. priya

    priya Guest

    You're welcome..

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
Thread Status:
Not open for further replies.

Share This Page