• Resolved Matilda F

    (@matilda-f)


    I searched the forum on how to change the copyright date at the end of every web page. Found the relevant php code to put in the footer.php.

    It works but it appends the automatic year to the fixed 2013 year (when I activated the blogsite).

    Looked in the Appearances menu and there is no Footer option. Also searched the footer.php and removed all references to date in the bottom_bar_text part.

    To see what I mean, scroll down to page end at this website – https://www.matildafaltyn.com.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author ronangelo

    (@ronangelo)

    Found the relevant php code to put in the footer.php.

    There’s no need for you to edit any php files. That text on the footer can be edited on Frontier Options -> Display -> Footer Text

    Thread Starter Matilda F

    (@matilda-f)

    Hi Ronangelo,

    Firstly, sorry, I should not be messing with the php files and don’t know how I missed the footer text box in the Display tab of the Frontier Options.

    Another person on the forum asked the same question and I got attracted to the idea of automatic year update, when it’s no big deal to change year manually as above.

    I changed the date accordingly, but still have the repeating year. Since I didn’t make copy of footer.php before modifying it, may I ask you to look over what I need to correct it to its former glory.

    What I did was remove reference to Year (twice) after .’&copy’ and inserted: <?php echo date(‘Y’); ?>.

    Here is the div id “bottom bar” section that I changed:

    <?php if ( frontier_option('bottom_bar_text', get_bloginfo('name') . ' ? ' ) ) : ?>
    
    <span id="bottom-bar-text"><?php echo frontier_option('bottom_bar_text', get_bloginfo('name') . ' ? ' ); ?><?php echo date('Y'); ?></span>
    <?php endif; ?>

    Thank you, and secondly,

    PS – talk about killing two birds with one stone, found the Donation button on this Frontier Options tab and have made a donation to you. As a result, please ignore the message I sent you via your website regarding same.

    Theme Author ronangelo

    (@ronangelo)

    You can just replace the entire content of your footer.php with the original content you can get here:

    https://themes.svn.www.ads-software.com/frontier/1.1.9/
    https://themes.svn.www.ads-software.com/frontier/1.1.9/footer.php

    Thanks, I really appreciate the donation.
    Ron

    Thread Starter Matilda F

    (@matilda-f)

    You’re welcome and thanks for the footer code. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Copyright Date in Footer – used php code but date now appends old date’ is closed to new replies.