// you’re reading...

Wordpress

Function.php Code for Vintage Theme

Regular readers, please disregard this post… I need a place to publicly post some php code for a few people…

<?php if ( function_exists(‘register_sidebar’) )
register_sidebar(array(
‘before_widget’ => ‘<ul class=”category-bg widget %2$s”>’,
‘after_widget’ => ‘</ul>’,
‘before_title’ => ‘<h2>’,
‘after_title’ => ‘</h2>’,
));
?>

Spread the Love:
  • Digg
  • del.icio.us
  • Fark
  • Ma.gnolia
  • NewsVine
  • Reddit
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Mixx
  • TwitThis
If you enjoyed this post, make sure you subscribe to my RSS feed!

Discussion

2 comments for “Function.php Code for Vintage Theme”

  1. it is not working somehow. I already copy &paste your code.The error is on line 3.

    Posted by Nazz | July 4, 2009, 11:17 pm
  2. Im not seeing any kind of error in the functions code; is it Line 3 of functions.php or another file?

    Posted by Andrew | July 11, 2009, 9:06 am

Post a comment

follow me on
and my design blog on Tumblr
www.flickr.com
This is a Flickr badge showing public photos from cafourek. Make your own badge here.