Category Archives: Development

WordCamp Victoria: Plugin Development 101

Today I’m giving a presentation at WordCamp Victoria 2013 where I’m showing power users and novice developers how to get started with plugin development. I think a lot of people don’t realize how easy it is to get started with plugin development or just how small and simple can be. It doesn’t require 100s of lines of code…

Many WordPress tutorials out there talk about copy this or that to your functions.php file in your theme. However, it’s just as easy to create your own functionality plugin; which makes for easier to maintain code in the future that isn’t theme dependant. I begin this talk with the basics of what a plugin is and how it’s structured. I then explain the hooks (actions and filters API), followed by a very simplistic demo. I then give some pro tips and talk about some of the most commonly used WordPress APIs in plugins, as well as promote coding standards. A second more in-depth demo is then presented. Finally, I discuss security in plugins and share some resources for developers and users to further learn from.

Here are the slides from the presentation:

Let me know if you have any questions, using the comments below. And if you’re at WordCamp Victoria while you view this, come say hi!

Pay Another Way: Bitcoin

Reblogged from WordPress.com News:

Click to visit the original post

At WordPress.com, our mission is making publishing democratic -- accessible and easy for anyone, anywhere. And while anyone can start a free blog here, not everyone can access upgrades (like going ad-free or enabling custom design) because of limits on traditional payment networks.

Today, that changes: you can now buy WordPress.com upgrades with bitcoins.

PayPal alone blocks access from over 60 countries, and many credit card companies have similar restrictions.

Read more… 545 more words

WordPress.com now accepts Bitcoin as a way to pay. How many companies do you know who go out and build ways to accommodate users in otherwise restricted countries? Pretty awesome I think.

Make WordPress.com Your City's Virtual Home

Reblogged from WordPress.com News:

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

City administrators: Don't spend thousands of dollars on a proprietary system for your city's website. We've launched WordPress.com/cities as the go-to place to start a site for your city or other municipal body, and there's no charge to get started. ("Free" is a price that will get every taxpayer on board, and since WordPress.com has been approved as a hosting site for federal government agencies, you can be sure we take security seriously.)

Read more… 259 more words

Making it easier than ever for a city or town to create a beautiful and easy website for their community. Proud of my coworkers from Automattic for launching this project.

Proposed talk for WordCamp Victoria 2013

I am proposing a talk for WordCamp Victoria which is coming up in January 2013. The session I’d like to do is a bit more beginner than I’ve done in the past; but should fit in well with the WordPress community in Victoria. Below is my proposed session.

Plugin development 101. I’ll show beginning developers and power users how easy it is to get started with WordPress plugin development. Many WordPress tutorials out there talk about copy this or that to your functions.php file in your theme. However, it’s just as easy to create your own functionality plugin; which makes for easier to maintain code in the future that isn’t theme dependant. I’ll begin with the basics of what a plugin is and how it’s structured. I’ll explain the hooks (actions and filters API) and talk about some of the most commonly used WordPress APIs in plugins. Finally, I’ll share some resources for developers and users to further learn from. A very basic understanding of what PHP is and how it works is recommended for attendees of this session.

Let me know if you have any further ideas on what I could talk about in Victoria, or if you have any questions, using the comments below. I’m looking forward to the event!

Jetpack 1.9: Toolbar Notifications

Reblogged from Jetpack for WordPress:

Click to visit the original post

Jetpack 1.9 is here. That's right, it's time for another big helping of Jetpack awesomeness. This release brings you Toolbar Notifications, Mobile Push Notifications, Custom CSS for mobile themes, a JSON API, and improvements to the Contact Form.

Notifications adds a menu to your toolbar that lets you read, moderate, reply to comments from any page on your blog. Plus, if find yourself on…

Read more… 147 more words

Pretty significant Jetpack update out today. Exciting things coming from Automattic for self-hosted WordPress.org sites!

WordCamp Montreal 2012

Today I’m giving a talk about how to become a better WordPress developer at WordCamp Montreal. It’s (hopefully) a resourceful talk for developers of all levels (form beginner to advanced devs). Here are the slides that go along with the presentation. Also available as a PDF and on slideshare.

WordPress Plugin Development Cookbook Book Cover

WordPress Plugin Development Cookbook

Last march, Yannick Lefebvre, fellow WordPress developer from the Montreal WordPress community asked me if I would be willing to be a technical reviewer for a book he was writing. I was delighted by the opportunity and decided to take part in the project. And so for a few months, Yannick worked incredibly hard on getting a chapter ready every few weeks while I was giving him feedback on the code samples and explanations provided within his writing. It was definitely a unique experience since I don’t typical review literature in my day-to-day work.

The book has just been published, and you can grab a print or ebook copy over at Packt’s website. I received my copy today, and it looks great:

WordPress Plugin Development Cookbook Book Cover

WordPress Plugin Development Cookbook Technical Review

Thank you Yannick for asking to participate in the making of this book. It was a great learning experience and a true pleasure to be part of the project.

Theme Weekend recap

This weekend was the first ever Vancouver WordPress Theme Weekend. I was happy and excited to be part of the organizing team along with Morten Rand-Hendriksen, Angela Chich and Pauline Lai. We had a total of 20 attendees, divided into 4 teams of 5.

On Saturday morning, we divided up the teams and then brainstormed some ideas. The teams had just under an hour to decide on theme ideas. Each team ended up picking a niche they wanted to gear their themes towards. The four niches were: recipes, restaurants, fine art artists and film festivals. It then took most of day 1 for ideas, wireframes and designs to get fully fleshed out. Coding began at the end of day 1 for most teams.

Working on UI and designs

Working on UI and designs

Throughout day 1 we gave themers several opportunities to present their progress, and ask questions & feedback from other attendees. On day 2, we minimized interruptions and let everyone work hard on their themes… writing html, css and php.

Working hard on building a theme

Working hard on building a theme

In addition to the organizers, we had 3 floaters, Christine Rondeau, Catherine Winters and Andrew Ozz who helped teams with any questions or issues they encountered; mainly technical questions but essentially anything that came up.

On saturday morning, I gave a quick Github 101 presentation. The presentation was well received but unfortunately the whole concept of version control was over the head of most attendees who were either advanced users or novice developers. Everyone was eager to learn but in the end encouraging everyone to use Github was more of a hassle than it was worth. We ended up dropping the idea and everyone was free to work with the files whatever which way they pleased.

Github 101 presentation

Github 101 presentation

Overall, the weekend was a success. None of the teams 100% completed their theme but they did get very close. After all, most people wouldn’t be able to build a fully-fledged theme in 2 days, yet they did get a whole lot done in just about 15 hours of work. Regardless, everyone learned something and more importantly, we, as the Vancouver WordPress community got together, got to know each other better and collaborated together. That’s an experience that I think truly represents what WordPress is about and I hope to see more WordPress local groups organize and encourage this kind of hackaton-style activities.

I’d like to give huge thanks to the WordPress foundation for helping us with costs (mainly feeding everyone both days), the Network Hub for giving us the space (and giving us beer at the end of day 2!) and the Pink & Yellow NFP Society for helping organize and take care of the finances for the event.

You can find the finalized code for the themes on Github, more photos (all photos by Morten) from the event on Flickr, and tweets from the event at #ThemeWeekend.

#ThemeWeekend

June 30th and July 1st 2012 is the first ever Vancouver WordPress Theme Weekend. I’m part of the organizing team and I’m giving a quick intro to Github, which is where we’ll be hosting all of the teams’ themes. You can check out the slides of the GitHub intro below or download them as a PDF.

Please check out all details for the event at wpyvr.org/theme-weekend

Developer Plugin v1.0: Helping WordPress developers develop

Reblogged from WordPress.com VIP:

One of the great things about developing for WordPress is the number of tools available for developers. WordPress core ships with a bunch of useful features (e.g. WP_DEBUG) with many more built by the community (like our own Rewrite Rules Inspector and VIP Scanner) that make development and debugging a breeze. The hardest part is getting your environment set up just right: knowing what constants to set, what plugins to install, and so on.

Read more… 126 more words

The WordPress.com VIP team released a set of very useful developer tools. If you're a WordPress developer, you absolutely should run this.