JQuery + WordPress Menus = Simple, but Amazing

Today I was asked by a client to add 3rd level drop-down menus to an existing WordPress site.

JQuery to the rescue!  The previous web guy had used Superfish, which is a fine system on its own, but he’d only used the bits and pieces he really needed.  Thus, when two-level nested menus became three, the script was not able to handle it.

First step: Use what they already had without reinventing the wheel:

<?php wp_list_pages('title_li=&depth=2'); ?>

Became:

<?php wp_list_pages('title_li=&depth=3'); ?>

And Christian at Kresi.at provided a nice starting point for me to jump from using JQuery in WordPress menus.  He really should be applauded for such a simple solution.  I just had to style the 3rd tier menus and I was set!  (Text blurred to protect client identity).

WordPress Menus Step OneWordPress Menus Step TwoWordPress Menus Step ThreeNice.

I also managed to wrangle in Image Uploading issues – caused by two separate problems on two different sites.  Freeing up a bit of file permissions did the trick on one, and discovering that there was an entire duplicate WordPress installation elsewhere and re-directing the uploads folder fixed the second.

The whole line of fixes and menu additions took a little over 3 hours.  A total success for myself and the client!

Posted in Digital Gunslinging, Web Design, Web Programming | Tagged , , , | Leave a comment

Goog-411: The Road to Hell is Paved with Good Intentions

The man raises some good points. Technology is never inherently evil; the people who decide how to put it to use can be.

The price for continuous advancement is continuous vigilance.

Posted in Digital Gunslinging, Personal | Tagged , , | Leave a comment

MOAR COFFEE

People often ask what my average day looks like.

Nick Armstrong - MOAR COFFEEHere’s the answer.

Posted in Personal | Tagged , , | Leave a comment

Doctor Horrible – Television Is Dead

You just can’t go wrong with Neal Patrick Harris and Nathan Fillion…

…the future of home entertainment is the Internet!

Posted in Digital Gunslinging, Personal | Leave a comment