At this very moment I am at Sky Song in Phoenix Arizona. If you’re not in the room with me, you’ll have to check out the video presentation at a later date. For those that are and want to follow along a bit closer, check out: my online presentation that you are watching right now.
View my online presentation for #wcphx
WordCamp Phoenix – last minute
Well it’s Tuesday night and in less than three days I’ll be at the SkySong in Scottsdale, AZ for the Friday Free classes during this years WordCamp Phoenix.
I am real exited and nervous at the same time. I’ve got experience with teaching WordPress to a classroom, but I’ve never been stuck with a small window of guidelines for the class. I am hoping I’ll be able to cover six or so hours of child themes and frameworks alone. If not, will break early and hit the local bars and talk WordPress there!
I’m putting the final touches on my notes and web presentation I am not a power point or keynote guy. I’d much rather wing it and show live code and/or get feedback from the class. But since I’ve done this a few times I did put together a little web presentation with a collection of my notes and great web articles.
I’d also like to take this last paragraph to thank Amanda Blum, Chuck Reynolds and the whole Phoenix crew (whom I’ll meet in two days) for the invite and the time spent planning such and event. Believe me, I know what goes into them, because I have now started the countdown till I make the announcement for WordCamp Los Angeles Twenty Eleven. I’ve already set up the domain, just need to take a deep breath and jump back into the fun!
I hope to see you Friday, but if you can’t make it be sure to say hi on Saturday at WordCamp and Remember to follow me on Twitter: @TheFrosty.
Prevent default link if href has a hash
I am working on a WordPress theme using custom taxonomies and custom post_types. One problem that I notice if you’ve allowed these to be registered to the navigation menu the archive or singular tax or type is still missing. For example if I register the post_type snippets, and add a post or two like snippet one & snippet two, the two posts will register in the navigation menu, but the parent or archived page will not. Luckily there are custom links. So we’ll work with that for the time being.
In this example I am going to add to the menu a custom link called Snippets and add the href of # (although I can write it as the actual permalink if using WordPress greater than 3.1 and my post_type is using has_archive). I am choosing to just make it a placeholder for drop-down menus, but I don’t like when someone clicks a link and it just adds a # to the ending URL.
So, without further adieu, the jQuery code snippet:
/* Prevent default if menu links are "#". */
$j('nav a').each( function() {
var nav = $j(this);
if( nav.length > 0 ) {
if( nav.attr('href') == '#' ) {
//console.log(nav);
$j(this).click(
function(e) {
e.preventDefault();
}
);
}
}
});
Note, I am using $j. You can choose to use this, $ or jQuery for your prefix. Be sure to change the nav a to your corresponding anchor with prefix.
Overview
This line is finding all anchors, which happen to be nested in nav elements:
$j('nav a').each( function() {This line defines the variable, then checks if one exists and then if that anchors href attribute is a hash tag.
var nav = $j(this);
if( nav.length > 0 ) {
if( nav.attr('href') == '#' ) {
And finally we add the click function and attach it to the element. We then use preventDefault to disallow the normal link click.
$j(nav).click(
function(e) {
e.preventDefault();
}
);
Happy Holidays from Automattic
Got my holiday card from Automattic today. With an awesome new design by Gary Fernández.

HTML walks into a bar and says “hellos”
Over the wet and rainy weekend I compiled a little plugin for WordPress called Hellos Bar. It’s a announcement like plugin using WordPress Custom Post Types.
Adding a post to the CPT hellobar, and activating the plugin in the settings page will insert one random post from the post list in a fixed position at the top of the browser screen. Using jQuery the bar will drop down after about 5 seconds.
I’ve created a demo over at wpWag if you want to see a working copy.
Testing
Please take note that I am still testing this plugin, and have a long way to go before it’s where it needs to be. So if you’ve got suggestions, please feel free to leave your comments here or on the plugin page: austinpassy.com/wordpress-plugins/hellos-bar/.
The Future
This plugin is brand new and has some future planes.
- Saved bar position with cookie settings.
- Post and page per post ID.
- Per post on/off toggle.
- ….
How to mod an Air Hogs A-10 Warthag

Yesterday I modified my Air Hogs A-10 Warthog by moving the battery back about 5 inches to create better weight distribution. Here are a few photos and a video on how to accomplish this.
- battery and electronics compartment
- Tape covering engine cables
First time in Portland

This was my first time visiting the lovely gray city. And I’ve taken some photo’s, mostly on Monday the 20th of September after WordCamp was finished and I had some time to walk the city.
I also set up a photo page for Portlander to upload some photos, and I’ve got quite a few pictures up there my self. Visit the site @ http://pdxbypix.com

































