Skip to content

WP Code Snippets

Just another WordPress site

Tag: year

Dynamic date for copyright notices

echo date(’Y’);

Published June 22, 2012
Categorized as PHP, Template Tags, Themes Tagged copyright, date, footer, year

Generate current year

<? echo date(’Y’) ;?>

Published May 21, 2011
Categorized as Template Tags Tagged date, time, year

Recent Posts

  • Adding Google Fonts to your theme
  • Setting Up WP Customizer
  • Paged WP_query (That works!)
  • Vertical Align Anything
  • Registering/Enqueing Scripts in functions.php
  • Post Type rewrite rules
  • Hacks to Enhance WP Search Engine
  • Helpful Responsive Web Design Links
  • Remove the “read more” jump
  • Prevent automatic image compression

Categories

  • CSS
  • Features
  • Fixes
  • Hacks
  • MySQL
  • PHP
  • Plugins
  • Queries
  • Template Tags
  • Themes

Tags

.htaccess categories conditional copyright CSS3 css trick customizer date fonts footer functions.php get_posts HTML iframe images inherit jquery lists loop Microsoft Word page pagination posts post thumbnail post type psedo element queries query_posts read more redirect rewrite url scripts search shortcode spam sub-categories subpage template ttf titles tutorials upload url vertical align wp_queiry year

Blogroll

  • Documentation
  • Plugins
  • Support Forum
  • WP Functions
  • WP Template Tags

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
WP Code Snippets
Proudly powered by WordPress.