cooper culture
Image 01

Widgetized Christmas

December 13th, 2006 by cooper

I’m bad…yea…I’m bad.…yea…I’m bad.

Talk about the Great Human Dias­po­ras, or talk dis­mis­si­vely Foucault’s incom­plete study on human sexua­lity and I’m with ya baby, but whis­per “tes­ting envi­ron­ment”, “apache”, “code”, “php”, “direc­tory’ or such thing in my ear and I wither like my neigh­bors never wate­red Christ­mas tree – that was a slight jab at a neigh­bor who will never read this so I take little plea­sure in it.

I know ever­yone out there with even a mini­mal know­ledge of tem­pla­tes and code will pro­bably laugh at this, but I am high five-ing myself all over the place because I have figu­red out what I nee­ded to do to get wid­gets to work with this tem­plate. I can’t help dan­cing around in that “I’m bad, I’m bad” sort of way.

While loo­king at the direc­tions for wid­gets which clearly stated

“Now there is one more thing to be done to the theme. Assu­ming you are using
Word­Press 2.0 or higher, this change will be made within functions.php in your
theme’s directory.

Here is an exam­ple of functions.php for a theme that does not yet have such a
file (no blank lines at the begin­ning or end of the file, please):
< ?php
if ( function_exists(‘register_sidebar’) )
register_sidebar();
?>”

I was thin­king, *hands on hips, dis­gus­ted look on face*, “well my theme direc­tory for this theme does not have a functions.php”.

For those of you who have yet to ques­tion my inte­lli­gence; it took me seve­ral days and seve­ral reads of this exact same para­graph (during wor­king hours) to figure out that pos­sibly I should make a file called functions.php and put the code in it. DUH.

regard­less, I’m bad.

I just have to look at my wid­gets and decide which ones I want to put back in and which ones to leave out with this theme.

;)

This is a no com­men­ter. I have another post but I’m going to finish up a paper first; I just wan­ted to show of.

Funny thing though, I already put all this junk in this side­bar I am not sure I even need the wid­gets — it might actually look bet­ter the way it is.

A Rose, is a Rose, is a Rose.

Share This
  • StumbleUpon
  • Technorati
  • Yahoo! Buzz
  • Twitter
  • FriendFeed
  • del.icio.us
  • Google Bookmarks
  • Facebook
  • Yahoo! Bookmarks

Comments are closed.