Software Engineering in WordPress, PHP, and Backend Development

Author: Tom (Page 363 of 427)

Writing Quality Code in WordPress

Improving Your Code

I recently shared my thoughts on writing clean code within the context of WordPress, but I think there’s a whole other side to this – writing quality code.

Sounds easy enough, but the thing is that if it were easy then everyone would be doing it. And everyone isn’t. In fact, I’d argue that even those of us who try have room to improve.

In my latest article on Envato, I review a few practical tips for writing quality code specifically for WordPress. Continue reading

Redirect Non-Administrators After Login in WordPress

For more technical users or to skip the the background explanation, skip directly to the code.

When it comes to building themes or plugins in WordPress, you rarely want administrators, editors, subscribers, and so on to anything other than the dashboard just after they’ve logged in.

After all, these authors are usually loggin in to write posts, edit their information, or generally manage their content.

But if you’re building a more advanced theme or an application, then allowing users to view the dashboard may be outside the scope of what you’re looking to allow.

As such, here’s an easy to redirect non-admin users to another page after logging into WordPress. Note that this post was updated on December 13, 2012 thanks to the recommendations in Simon’s comment.

Continue reading

Hello Dolly – It’s WordPress For Your Earholes

Back in October, I asked if you guys thought that there was room for yet another WordPress podcast. Between the comments, Tweets, and emails, I receive an overwhelmingly response all of which was positive.

After the response that I received, I brought the idea and responses to my team at 8BIT who were more than excited about the opportunity. So much so, in fact, that we’ve opted to bring this under the 8BIT banner rather than as a personal podcast of my own.

So, as of today, I’m proud to announce the first episode of the Hello Dolly podcast. Continue reading

Proud To Announce The Launch of WP Daily!

On this site, I’ve discussed my work with 8BIT many times before. The short of is that we’re passionate about digital publishing.

  • We’re the team behind Standard
  • We created #notes specifically for helping digital publishers capture they’re ideas when they’re offline
  • We absolutely dig all things WordPress

We have some really exciting things coming in 2013 (including helping to produce a certain podcast), but today we’re launching one of our first initiatives for the new year and I couldn’t be more excited. Continue reading

« Older posts Newer posts »

© 2025 Tom McFarlin

Theme by Anders NorenUp ↑