WebDevStudios and a new title.

Since I realize I never blogged about it, and in case there are 2 people who read my blog who never see me on twitter, I joined WebDevStudios last September. This job effectively pulled me out of freelancing full time, and I am putting all my working focus on my time with them. It’s been a very good thing for me and I’m quite happy.

For those who are already caught up with that news, late in April, I got a little bit of a promotion within the company. They decided that they wanted to get me more integrated and give me some more responsibility. With that, they decided to anoint me “Plugin Tzar”. What this means is that I am the main person in charge of and dealing with a handful of plugins the company has made over time. These duties include helping people in the support forums set up for each plugin, as well as taking notes about reported issues/bugs and later fixing these bugs for future releases. Not only that, I’ll also be the main person extending and adding new features and/or paid extensions to the plugins so that we can create our own little marketplace.

I’m excited about the opportunity and the chance to run with this. I have already begun working on at least one of the plugins, slated for the next update next week. I also have many ideas and work to do with the others, that I can’t wait to get started on. Hopefully I can help our plugins shine with current and future users, and make sure they’re getting top-notch support when necessary.

 

Load newer version of jQuery until WordPress Core has that version

jQuery version 1.9 was released today, and I wondered how one could use that version on my site until it was released properly with WordPress. I found out that the $wp_scripts variable holds the script version of registered scripts. Thus, I was able to concoct the following function for the wp_enqueue_scripts hook. Change the prefix as you see fit. Also change the version as you see fit as well. This is fairly future proof as versions will never go down.

add_action('wp_enqueue_scripts', 'prefix_load_scripts');
function prefix_load_scripts() {
	if(is_admin()) return;

	global $wp_scripts;

	if ( $wp_scripts->registered['jquery']->ver != '1.9.0' ) {
		wp_deregister_script( 'jquery' );
		wp_enqueue_script('jquery', 'http://code.jquery.com/jquery-1.9.0.min.js');
	} else {
		wp_enqueue_script('jquery');
	}
}

I won’t deny that I’m a believer in using the version of jQuery that WordPress comes packaged with, but if you are anxious to try out the new stuff and not worry about reverting back manually, this would be a way to go.

 

Evernote Notebooks

Despite not being an avid passionate user at the moment, I am a user of Evernote. At the moment I have 7 notebooks set up in my basic account and wanted to list them and their purpose. Hopefully you readers are fans as well and use Evernote and could contribute some ideas to improve my workflow with Evernote. I keep my notebook count fairly limited and organize individual notes better via Evernote’s tagging system.

Notebooks:

  • Inbox: Default place for new notes that need to be sorted.
  • Code Snippets & Webdev notes: code/markup/css that I want to save for later use and also any ideas I have for web development related ideas.
  • Michael’s Ideas: non-web development ideas
  • Michael’s ToDo: an attempt to keep important tasks in the forefront of my mind.
  • Other: doesn’t fit elsewhere
  • Sioux Falls Stuff: notes related to where I live. Currently holds hours of operation for my favorite coffee spots and public transport schedules.
  • WebDevStudios: notes related to my dayjob and the work I do for them.

I frequently have web development on my mind, which is understandable since it’s the career I chose. That notebook is the most full with some 46 notes in it. I haven’t reached any limits that would prompt me to upgrade to a pro account, but we’ll see as time goes on.

Any thoughts or ideas to help improve my experience or use?

 

Alfred.app Custom Searches for WordPress and Web Development

These are the custom Alfred.app searches that I have that help me with my web development, whether it be WordPress or in general. Feel free to use and add your own in the comments area or via twitter. Just send them to @tw2113 and I can retweet for you. Click the links to automatically add them to your own custom search list.

WordPress.org

http://wordpress.org/search/{query}

WordPress Plugins

http://wordpress.org/extend/plugins/search.php?q={query}

WordPress PHPXref

http://phpxref.ftwr.co.uk/wordpress/nav.html?_functions/{query}.html

WordPress Trac

https://core.trac.wordpress.org/search?q={query}

WordPress Trac Ticket

https://core.trac.wordpress.org/ticket/{query}

jQuery API

http://api.jquery.com/?s={query}

PHP.net*

http://php.net/{query}

*changed to Kailey’s url string.

Mozilla Developer Network

https://developer.mozilla.org/en-US/search?q={query}

Github

https://github.com/search?q={query}

Builtwith

http://builtwith.com/?q={query}

w3c Spec via Google

https://www.google.com/search?q=site:w3.org+{query}

Smashing Magazine

http://www.smashingmagazine.com/search-results/?q={query}&sa=&cx=partner-pub-6779860845561969%3A5884617103&cof=FORID%3A10&ie=UTF-8

New Ones From Kailey Lampert in the comments

WordPress.org theme search

http://wordpress.org/extend/themes/search.php?sort=&q={query}

QueryPosts.com function lookup

http://queryposts.com/function/{query}

 

Enable SoundCloud oEmbed on your WordPress site

Due to being in a mood involving musician promotion, I’m typing up this quicky tutorial about adding SoundCloud oEmbed support to your site.

Simply add this code snippet it to your theme’s functions.php, a basic quick plugin that you type up as you read this post, or a “Must-Use” plugin.

wp_oembed_add_provider('#https?://(?:api\.)?soundcloud\.com/.*#i', 'http://soundcloud.com/oembed', true);

Once that is added, you can simply paste in SoundCloud based urls into your post and they will automatically embed themselves. You can see an example below, first with the actual url, and then the result.

URL

http://soundcloud.com/haimtime/haim-dont-save-me/s-SGs8F

Result

Resources used