zbench, footer.php

When written the zbench theme’s footer text was

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

This isn’t what I want.

There follows an extract from footer.php in the zbench theme.  The rest of the article discusses how to change it.

<p>
<?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>’); ?>
</p>

_e is a translation function. It is part of wordpress, in ${WP_HOME}/wp-includes/l10n.php. As you can see I have now changed the footer text. I did so using the _e function, but maybe should have just replaced it with hard coded html. I aslo removed the &copy; string, which is HTML and renders as ©. I have copied footer.php to the custom child theme folder which is where I made the changes

I have a community forum article here.

Related Posts

  • zbench and photo headers I finally got round to experimenting with a photo banner for the site. This is a […]
  • Disqus This is page contains complex html i.e. javascript, the page must only be edited as […]
  • zbench I have decided to use Zbench as my theme for the my revised blog, for which I have a […]
  • Child Themes Here are my notes on WordPress Child Themes. I made one for zbench and am now working […]
  • WordPress and robots.txt WordPress has a virtual robots.txt file; best not to muck around with the filesystem. […]

Leave a Reply

Your email address will not be published. Required fields are marked *