#wcsea: WordPress at the Command Line

Today, I’ve been invited to give a talk at WordCamp Seattle titled “WordPress at the Command Line: An Introduction to wpshell and wp-cli”.

It’s exactly this — an introduction, because I hope to inspire further exploration of interacting with WordPress through the command line. Similar to Scribu, I’ve found “the keyboard is faster than the mouse” for many tasks, and that developing proficiency with the command line has dramatically increased my effectiveness as a programmer.

So, I hope you take the time to check out wpshell and wp-cli (and ack, for that matter). Think critically about how they can improve your workflow, and let me know what you script up!

Querying Posts Without query_posts

Reblogged from Developer Resources:

Click to visit the original post
  • Click to visit the original post

Here at WordPress.com, we have over 200 themes (and even more plugins) running inside the biggest WordPress installation around (that we know of anyway!) With all of that code churning around our over 2,000 servers worldwide, there’s one particular WordPress function that we actually try to shy away from; query_posts()

If you think you need to use it, there is most likely a better approach.

Read more… 1,404 more words

Solo cross-country to Sunriver

Took advantage of the good weather and VIP’s semi-flexible tools rotation to do my final required cross-country work before my checkride. Departed Twin Oaks for Sunriver via Salem. The flight over the Cascades was a little bumpy so I climbed up to 9,500 ft. Total time to Sunriver was 1.6 hours.

For the return, I flew north from Sunriver to the Dalles and then cut down the Gorge. One of the neatest things about this trip was having what’s called flight following. This is where either Portland or Seattle has you on radar the entire time. They’ll then give you traffic advisories if your flight path is crossing another plane’s. It’s also a nice amonut of banter to keep you company as you spend a few hours solo in the cockpit. The flight back took 2.1 hours.

These photos and videos are a bit of what I saw along the way (gradually improving my aerial photography).

Continue reading

Weekend Visit to Afton Field Farm

Reblogged from Leah's Blog:

Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post

One of many highlights from last weekend was a quick visit to Afton Field Farm. Daniel and I stopped by the farm on Sunday afternoon to see what was going on. Maggie was visiting for the weekend, too, so after we arrived, Tyler warmed up their farm rig and we were off into the pasture. I’ve been to Afton Field Farm multiple times before, but this was my first full tour from Alicia and Tyler.

Read more… 649 more words

Ad Code Manager and Rewrite Rules Inspector

This is the week of releasing plugins!

Ad Code Manager is a plugin designed to help you deal with ad codes, those short snippets of Javascript used to display advertisements on your website. This week, Rinat Khaziev of Doejo, Jeremy Felt of 10up, and I pushed v0.2, which includes these improvements:

  • Completely reworked user interface, one that now looks and feels like much of the rest of the WordPress admin.
  • Abstracted ad network logic, so you can integrate additional ad networks. Currently, Ad Code Manager fully supports Double Click for Publishers. Pull requests with support for other ad networks are always welcome.
  • In-plugin contextual help to get you properly configured.
  • Priorities for ad codes, which allow you to work around conflicts.
  • An [acm-tag] shortcode for placing ad codes within posts.
  • A widget for placing ad codes in widget areas. Thanks to Justin Sternburg at WebDevStudios for the contribution.

Rewrite Rules Inspector is a simple development tool for viewing all of the rewrite rules registered with your site. It’s been available for VIPs hosted on WordPress.com for a while — today it’s available for download from the WordPress.org repository.

Specifically, the Rewrite Rules Inspector helps you:

  • View a listing of all your rewrite rules.
  • See which rewrite rules match a given URL (and the priorites they match in).
  • Filter by different sources of rewrite rules.
  • Know when rewrite rules are missing in the database by showing an error message.

Both plugins are available for forking in the Automattic Github repo, and pull requests are always welcome. Coming up next are improvements to Co-Authors Plus, P2 Resolved Posts, and a new round of development on Edit Flow…

A Closer Look At Chorus, The Next-Generation Publishing Platform That Runs Vox Media

Reblogged from TechCrunch:

Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post

The modern online newsroom is a 24/7 operation. It needs power tools to work efficiently, like modern carpenters need electric drills to build houses. The problem is that most content management systems, including web-native ones like WordPress, Tumblr, etc, are intended for smaller organizations or slower-paced writing. Which is why I’m so interested in Vox Media‘s Chorus.

The rest of us have been stuck turning screwdrivers.

Read more… 1,882 more words

Leah’s fifteenth razor clam

Yesterday, Leah and I woke up at 3:30 am to go clamming with my dad. The series of fortunate events went something like this:

The art of flight

Reblogged from theThinkingArnold:

Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post

I had the privilege of flying yesterday morning over the city I currently live in, Santa Barbara. And this has been possible thanks to my good friend Julien Lecomte, who just had his license.

After a night of bad sleep, I got up at 6 AM, packed my photo gear and drove to the Santa Barbara airport, where he was waiting for me.

Read more… 252 more words

Beautiful images... I need to up my aerial photography.

Today’s flight along the coast

Today’s flight along the coast was my first solo cross-country. Originating from Twin Oaks Airpark, I flew a Cessna 150, N66589, towards McMinnville and then onward to the coast. It took me to 1.1 hours to get to Newport where I landed, hung out for a little bit, filed a new flight plan, and then returned home in 1.0 hours.

Like I mentioned on Twitter earlier, there’s a really sweet app for the iPad called ForeFlight that allows me to plan my route, look up weather along the way, and file my flight plan. Here’s what it looked like for the flight down there.

Without an iPad, producing the flight plan takes about 10x longer than with. Such is the real-world value of technology. Of course, I have to do it the pen and paper way first because I’m “learning.”

Totally awesome…

Co-Authors Plus v2.6.3: Enhancements and bug fixes

Co-Authors Plus makes it easy to add multiple bylines to a given post, and has full support for custom post types. Out just a moment ago, v2.6.3 has the following improvements:

  • AJAX user search is back to searching against first name, last name, display name, email address and user ID. The method introduced in v2.6.2 didn’t scale well across hundreds of users.
  • French translation courtesy of Sylvain Bérubé.
  • Spanish translation courtesy of Alejandro Arcos.
  • Bug fix: Resolved incorrect caps check against user editing an already published post. Thanks to Doug in the WordPress.org forums for the help.

Please post any questions, bug reports, feature requests, etc. in the WordPress.org forums. If you want to contribute code, I’m eyeballing co-author management in Quick Edit and guest author functionality for v2.7.

For WordPress.com VIPs, this update has already been deployed to the shared plugins repo.