just add this before your name in the footer
<?php echo "© "; echo(date("Y")); ?>
it should work
Thread Starter
chatto
(@chatto)
Hi,
That didn’t work:(
Here is the code:
</div><!– #container –>
<footer id=”footer” role=”contentinfo” class=”row”>
<div id=”footerbar” class=”twelvecol last”>
<?php get_sidebar( ‘footer’ ); ?>
</div><!– #footerbar –>
<div id=”colophon” class=”twelvecol last”>
<div id=”site-info” class=”sixcol”>
” title=”<?php echo esc_attr( get_bloginfo (‘name’, ‘display’ ) ); ?>” rel=”home”>
<?php bloginfo ( ‘name’ ); ?>
</div><!– #site-info –>
<div id=”site-generator” class=”sixcol last”>
<?php do_action( ‘brunelleschi_credits’ ); ?>
” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘brunelleschi’ ); ?>”><?php printf( __( ‘Proudly powered by %s.’, ‘brunelleschi’ ), ‘WordPress’ ); ?>
</div><!– #site-generator –>
</div><!– #colophon –>
</footer><!– #footer –>
</div><!– #wrapper –>
<?php wp_footer(); ?>
</body>
</html>
Where should I insert?
Please post code in backticks, and limit code to around 10 lines.
Because your code isn’t escaped (by being placed between backticks), some of it is getting parsed, and is thus preventing us from seeing part of the actual code.
That said, I would add the copyright right after this:
<div id="site-info" class="sixcol">
…like so:
<div id="site-info" class="sixcol">
<?php echo "© "; echo(date("Y")); ?>
that should do and please use the code button or wrap your code with “`” mark in the text editor …and if your code is longer use a text hosting site like pastebin.com
cheers