<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>WP Engineer &#187; date</title> <atom:link href="http://wpengineer.com/tag/date/feed/" rel="self" type="application/rss+xml" /><link>http://wpengineer.com</link> <description>WordPress News, Hacks, Tipps, Tutorials, Plugins and Themes</description> <lastBuildDate>Wed, 28 Jul 2010 13:37:05 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=4870</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Dynamic Copyright Year In Your Footer</title><link>http://wpengineer.com/dynamic-copyright-year-footer/</link> <comments>http://wpengineer.com/dynamic-copyright-year-footer/#comments</comments> <pubDate>Sat, 10 Jan 2009 22:07:31 +0000</pubDate> <dc:creator>Michael</dc:creator> <category><![CDATA[WordPress Hacks]]></category> <category><![CDATA[copyright]]></category> <category><![CDATA[date]]></category> <category><![CDATA[footer]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[year]]></category><guid
isPermaLink="false">http://wpengineer.com/?p=599</guid> <description><![CDATA[The new year is already some days old but in many websites you still can see in their footer &#8220;copyright © 2006-2008 mysite.com&#8221;. Yeah Andy, on your blog too For everyone, who changes the year in their footer manually every year, here is a little tip: &#60;p&#62;copyright &#38;copy; 2006-&#60;?php echo date&#40;'Y'&#41;; ?&#62; mysite.com&#60;/p&#62; With date(&#8216;Y&#8217;) [...]]]></description> <content:encoded><![CDATA[<p>The new year is already some days old but in many websites you still can see in their footer &#8220;copyright © 2006-2008 mysite.com&#8221;. Yeah <a
href="http://www.wp-fun.co.uk" title="Andrew Rickmans Blog, a great WordPress resource" class="liexternal">Andy</a>, on your blog too <img
src='http://wpengineer.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>For everyone, who changes the year in their footer manually every year, here is a little tip:<br
/> <span
id="more-599"></span></p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">&lt;p&gt;copyright &amp;copy; 2006-<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> mysite.com&lt;/p&gt;</pre></div></div><p>With <strong>date(&#8216;Y&#8217;)</strong> the year from the current date get pulled and you never have to take care about it, unless you change your theme again.<br
/><hr
/><h3>Related posts:</h3><ul><li><a
href="http://wpengineer.com/3rd-door-today-the-advice-dont-steal-premium-wordpress-themes/" rel="bookmark" title="Permanent Link: 3rd Door &#8211; Today The Advice: Don&#8217;t Steal Premium WordPress Themes" class="liinternal">3rd Door &#8211; Today The Advice: Don&#8217;t Steal Premium WordPress Themes</a></li><li><a
href="http://wpengineer.com/wordpress-widget-areas-with-description/" rel="bookmark" title="Permanent Link: WordPress Widget-Areas with Description" class="liinternal">WordPress Widget-Areas with Description</a></li><li><a
href="http://wpengineer.com/a-chance-wordpress-plugin-competition/" rel="bookmark" title="Permanent Link: A Chance: WordPress Plugin Competition" class="liinternal">A Chance: WordPress Plugin Competition</a></li><li><a
href="http://wpengineer.com/wordpress-competition/" rel="bookmark" title="Permanent Link: Help To Win The Coolest WordPress Competition!" class="liinternal">Help To Win The Coolest WordPress Competition!</a></li><li><a
href="http://wpengineer.com/new-ideas-for-2010-now-its-your-turn/" rel="bookmark" title="Permanent Link: New Ideas For 2010? Now It&#8217;s Your Turn!" class="liinternal">New Ideas For 2010? Now It&#8217;s Your Turn!</a></li></ul><hr
/><p><img
style="float:left;" src="http://wpengineer.com/favicon.ico" alt="WP Engineer Favicon"/> Thanks for subscribing our feed! <a
href="http://buysellads.com/buy/detail/3646/" class="liexternal">Sponsor the WP Engineer Blog</a> and get your brand in front of several hundred users per day!<br
/> &copy; <a
href="http://wpengineer.com/" class="liinternal">WP Engineer Team</a>, All rights reserved <small>(Digital Fingerprint: WPEngineer-be0254ce2b4972feb4b9cb72034a092d)</small></p> ]]></content:encoded> <wfw:commentRss>http://wpengineer.com/dynamic-copyright-year-footer/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Database Caching 23/34 queries in 0.100 seconds using disk
Object Caching 462/527 objects using disk

Served from: wpengineer.com @ 2010-07-29 13:29:08 -->