Support » Theme: zBench » footer contents, specifically "copyright" in zbench
3 years, 11 months ago
For the final line of zbench where is the copyright(c)text held.
I want it to say something else.
3 years, 10 months ago
Thanks for the above, looks like,
<?php _e(‘Copyright’, ‘zbench’); ?> ©
<?php echo date(“Y”); ?> <?php bloginfo(‘name’); ?> |
<?php printf(__(‘Powered by %1$s and %2$s’, ‘zbench’),
‘<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 © is the (c) symbol, and I could experiment, but any clues or references would be appreciated.
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.
@wpyogi -Yup,got a child theme, but need some help with the PHP.
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.
I found function _e documented at
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