WordPress.org

Ready to get started?Download WordPress

Forums

Footer Question (6 posts)

  1. childrensfitness
    Member
    Posted 7 years ago #

    Newbie question:

    How can I change the information in my footer. All I want to do is change the copyright date from 2006 to 2007. Thanks.

  2. Kafkaesqui

    Posted 7 years ago #

    Rather depends on the theme.

    Most provide a Footer template (footer.php). You should be able to edit this through the Theme Editor, or by downloading the template and opening it in a text editor.

  3. childrensfitness
    Member
    Posted 7 years ago #

    Thanks. I have a footer.php, but no date appears there. I don't know how to change the date. Here is what is in the footer. See below:

    <hr class="low" />

    <!-- footer ................................. -->
    <div id="footer">

    <p>© Copyright <?php echo date("Y")." "; bloginfo('name'); ?>. All rights reserved.
    WordPress - <?php wp_loginout(); ?></p>
    <?php do_action('wp_footer'); ?>

    </div> <!-- /footer -->

    </div> <!-- /container -->

    </body>

    </html>

  4. waydomatic
    Member
    Posted 7 years ago #

    The line echo date("Y") will output 2007.

    If you want to format this date to display something different, you'll need to modify the date() function.

    Check out the options and examples here: http://au2.php.net/date

  5. brokenshardz
    Member
    Posted 7 years ago #

    or you can just remove the code and input the year.

  6. childrensfitness
    Member
    Posted 7 years ago #

    Thank you, yes, it did change. I appreciate all the support. Happy New Year.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.