Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #809142

    Good afternoon,
    I’d like to add a date range for the years in our website’s footer.
    Is there any way to add it? I don’t know how to call the the php
    <?php echo date("Y"); ?>
    inside the
    $copyright = do_shortcode
    variable, as I’m not really a coder.
    Any help you be great!
    Thank you!

    #809144

    edit, I’d like to do 2016-(“Y”) type of thing..

    #809150

    Hi,

    Please go to Appearance > Editor and open Footer.php file and find

    $copyright = do_shortcode( avia_get_option('copyright', "© ".__('Copyright','avia_framework')."  - <a href='".home_url('/')."'>".get_bloginfo('name')."</a>"));

    and change it to

    $copyright = do_shortcode( avia_get_option('copyright', "© ".__('Copyright 2016 -','avia_framework')." ".date('Y')." - <a href='".home_url('/')."'>".get_bloginfo('name')."</a>"));

    Best regards,
    Jordan Shannon

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.