I just learned how to register scripts properly in wordpress. Learn something new every day! loving the elimination of duplicates! 7 hrs ago

Articles tagged with 'php'

  • Date
  • Thursday, October 9, 2008
  • Author
  • Corey Dutson

Colour Swapper in Wordpress

Who likes web­site colour swap­pers? Anyone?

When I devel­oped the theme I am cur­rently using, I searched high and low for some­thing I could steal take inspi­ra­tion from. The funny thing is that most people don’t even know where the colour swap­per is on my site. So few in fact that I had to add a cap­tion to it to help make it a little more obvious.

In any case I felt that I would share the method I used to create the swap­ping func­tion­al­ity on my web­site. I’m aware that most of it can be fig­ured out with a little imag­i­na­tion and some source view­ing, but I think that going through it step by step is more helpful.

UPDATE - 10/09/2008 - In record time, a second pair of eyes look­ing at this has man­aged to refine the process. Thank you Bart for point­ing out that if the CSS files are named the same as the Title attribute of the Anchor, then you can drop the whole If state­ment. I’ve updated the tuto­r­ial accordingly

  • Date
  • Thursday, October 2, 2008
  • Author
  • Corey Dutson

Getting more with the MORE tag

So who out there uses Word­press? I’ve been told it’s some­what pop­u­lar.

I myself am a fan despite it’s assault on the CPU and data­base. It’s fast, it’s simple, and so long as your web­site isn’t gain­ing huge traf­fic (or you’re paying peanuts for CPU usage and stor­age) than it’s a great selec­tion. It’s fairly cus­tomiz­able, has a huge sup­port and user base, and it’s just damned easy to use. I’ve been slowly get­ting more and more into cus­tomiz­ing and extend­ing what Word­press can do out of the box.There’s more in the code than people think.

Recently I a friend of mine ripped a strip off of me for only using sum­maries in my RSS feed. He told me that he, along with other net-​savvy users, didn’t have time to get teased by RSS summaries.

  • Date
  • Thursday, April 17, 2008
  • Author
  • Corey Dutson

Ohgodsobusy

I’m not dead, i swear.

I know I haven’t really posted this week, and I have a legit reason this time!

A while ago I was asked to build a web­site. I won’t explain what it’s about quite yet, as I’m still build­ing the theme for the thing, which has been an adven­ture. I always forget how finicky PHP is, and then I start coding in it for some­thing and I want to shoot myself in the head. It dies when you don’t think it would, and then works when by all logic it shouldn’t. Joy oh joy.

I’ll give a quick run­down of what’s been going on, and I’ll try and get some reviews out this week­end between coding stints.