WordPress.org

Ready to get started?Download WordPress

Forums

zBench
[resolved] footer contents, specifically "copyright" in zbench (7 posts)

  1. dfl1955
    Member
    Posted 1 year ago #

    For the final line of zbench where is the copyright(c)text held.

    I want it to say something else.

  2. ClaytonJames
    Member
    Posted 1 year ago #

    footer.php

  3. dfl1955
    Member
    Posted 1 year ago #

    Thanks for the above, looks like,

    <?php _e(‘Copyright’, ‘zbench’); ?> &copy;
         <?php echo date(“Y”); ?> <?php bloginfo(‘name’); ?> |
         <?php printf(__(‘Powered by %1$s and %2$s’, ‘zbench’),
            ‘<a href=”http://zww.me”>zBench</a>’,
            ‘<a href=”http://wordpress.org/”>WordPress</a>’); ?>

    is the critical line.

    Can you point me at a URL that'll advise me on how to change this.

    It currently says,

    Copyright © 2013 wiki.davelevy.info | Powered by zBench and WordPress

    I assume the &copy is the (c) symbol, and I could experiment, but any clues or references would be appreciated.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Do you have a child theme set up - these kinds of changes should be made via a child theme - or they will all be lost when the theme is updated.

    http://codex.wordpress.org/Child_Themes

  5. dfl1955
    Member
    Posted 1 year ago #

    @WPyogi -Yup,got a child theme, but need some help with the PHP.

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    What do you want it to say? Easiest thing is to just take out that part and hardcode what you want - or part of it anyway.

  7. dfl1955
    Member
    Posted 1 year ago #

    I found function _e documented at

    http://codex.wordpress.org/Function_Reference/_e

    It's a translation function.

    I had misread ©, it is the HTML code for (c), so by changing the string 'Copyright' and deleting the (c) symbol, I have what I want. I should probably have replaced the _e function with an echo but I didn't.

    I have done this as advised, in a child theme folder.

    Thanks to Clayton and YPyogi

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic