How to widgetize your theme in Wordpress

/* Posted May 5th, 2008 at 10:52am [Comments: none] */
/* Filed under Blogging, Programming */

wordpresstitle1 How to widgetize your theme in Wordpress

Make a file called functions.php in your theme directory. (if you don’t have one yet)

Add the following code and save the file:

if ( function_exists(’register_sidebar’) )
register_sidebar(array(
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ‘

‘,
‘after_title’ => ‘
‘,
));
?>

Then add the following anywhere you want to add dynamic widgets:

Read more »

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

Blogging 101

/* Posted March 13th, 2008 at 8:40am [Comments: none] */
/* Filed under Blogging */

We’re all new to blogging here at coderetard.com, and I felt that a post covering a few blogging basics would help some of my fellow writers here as well as any other of our readers who may be interested. There are a few popular blogging frameworks out there, we use Wordpress, but the basics are the same. Frameworks like Wordpress give us easy-to-use interfaces to write articles that get automatically posted to our main page. Older posts are automatically moved out of the main page as more articles get written. Wordpress also allows readers to comment on the articles. Each article can also be associated with tags or categories to group related articles together. Enough with the introduction, let’s move on to the basics. Read more »

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks