Call for Beta Testers: Custom Post Type UI 0.9.0 Beta 1

beta testers, webdevstudios, web development, WordPress, WP,

Custom Post Type UI has been around for the better part of five years and is one of WebDevStudios’ oldest plugins in the WordPress.org repo. It has amassed over 640,000 downloads and maintains a rating of 4.6 out of 5 stars.

Since its initial release, it has largely maintained the same user interface and has only had minor tweaks through its evolution. However, that consistency meant it hasn’t kept up with the evolution of the WordPress admin since the days of WordPress 3.0, including the huge change from WordPress 3.8.

As a result, I wanted to give the the plugin a UI overhaul for the next major release, and I hope the new version provides a better, more easy to use user experience for our existing and future users. I also used it as a chance to refactor the existing code and make it more maintainable and customizable by 3rd parties. Everyone wins!

However, I need beta testers to make sure the upgrade goes smoothly and no settings are lost in the transition from 0.8.5 to 0.9.0. I also need new users to make sure it’s usable and not confusing.

That’s where YOU come in!

Things I need tested by both current and new users include:

  • Seemless migration from 0.8.x to 0.9.0. No behavior lost. The migration will be automatic, but making sure the provided settings match in the new UI needs to be checked.
  • If you have existing post types or taxonomies registered by CPTUI 0.8.x, check that their behavior remains as it was before.
  • Importing and exporting between sites using 0.9.0. This will be one of the new menu items available, and all of the data should be provided for you automatically–you just need to have a post type or taxonomy set up on one site, and not on another before clicking import.
  • Get code functionality. This one should be familiar to you already from the previous versions, but we need it to provide all of the expected values when set, and not empty values when not set.
  • General usability of the new UI. Is it more clear how to do things? Worse?
  • If you have multisite, that needs a really good tire kick that I will be doing myself as well soon.
  • Any bugs you find.
  • Translation updates, if you’re fluent in more than one language.

Continue Reading

Getting started with Vagrant & VVV for local development

vagrant

When I started doing web development, I think I started the way a lot of us did. You have a site you want to work on, so you connect with FTP, download a file, modify it, upload it back up, and then refresh the page to see if your changes worked. This process doesn’t really work when you’re working with a team of people, or on a site that people are actively going to. If your teammate edits the same file as you, someone’s changes may be lost, and if you upload something with an error in it, you may break the site for people currently browsing it. This isn’t a fun process.

The solution to combat this “cowboy coding” is to not work directly on a server, but rather on a server that is on your local machine. There are a ton of ways to do this, and I’ll walk you through what I do.

When doing any sort of design or development, you want to work locally. This is the best way to develop, and has tons of benefits. Like these:
  • Faster. No waiting for files to upload via FTP before you can refresh your browser and see your changes.
  • Easier debugging. Because everything is running on your system, setting up and using xDebug or other debugging tools is quite a bit easier.
  • Don’t need an internet connection work on things.
  • Less fear of screwing up. When working locally, you’re free to experiment and play around, as your work is not affecting current users.

I use Vagrant and a nifty tool called Varying Vagrant Vagrants (VVV) to power my local development. This, coupled with some tools I’ve written to make my life easier, is a very enjoyable way to work locally. I’ll walk through setting up VVV, as well as a helper tool VV, and how to use both.

Continue Reading

Win a Copy of Professional WordPress–It’s Easy as Pi!

giveaway, webdevstudios, professional wordpress, brad williams, david damstra, hal stern, #prowp3

If you’re a long time WebDevStudios fan and/or one of the brilliant people we’ve had the fortune of connecting with through the WordPress community, you’re probably familiar with the Professional WordPress books written by Brad Williams, David Damstra, and Hal Stern. The third edition of Professional WordPress is set to be released this Thursday, January 15th, and we could not be more excited about it!

In honor of the book’s release, we’re giving away one copy of Professional WordPress (signed by Brad Williams) and one Raspberry Pi, a nifty little credit card sized computer (you can read more about it here) for your own tinkering.

I sat down with Brad and asked him a few questions about Professional WordPress and working with WordPress in general. Read his sage WP insight below, and then use the Rafflecopter link below to enter yourself in the giveaway.

Continue Reading

Welcome in the New Year with WebDevStudios

If you were wondering whether WebDevStudios has a new look, you have one keen eye! What better time to start fresh than at the beginning of the year? For many folks, the new year is a time for reflection, reassessment, and setting the bar that we each measure ourselves by just a little bit higher, and WDS is no exception.

webdevstudios, web development, WDS, wordpress,

We have been around for quite some time now; for those of you who aren’t familiar with our history, WDS started as a two man operation that is now a team of over thirty folks. The site you are familiar with has been our mainstay (with a few updates here and there) for the last five years; we’ve grown so much since then and we wanted to launch a new site that reflected not only who we’ve become, but who we plan to be.
Continue Reading

How to Stay Healthy While Working from Home

Those of you who have the opportunity to work from home understand that while there are clear benefits to making your home your office, there are also challenges we face every day. While working from home, staying healthy can be a real struggle! Someone who doesn’t work from home might think we have it better than the average cubicle desk job…and well, in some ways, we do!

We still sit down at a desk, couch, or even bed most of the day in front of our computer. We could work in our pajamas unshowered all day if we wanted to, and even though the vending machine isn’t calling our name, the pantry and refrigerator are wide open, tempting us with endless possibilities of snacking.

The struggle is real.

We must take responsibility for staying healthy from our own home throughout the day, and it can be more difficult than you’d expect! Even small changes that we can incorporate into our daily routine can have a positive impact on our health over time.Continue Reading

WDS Holiday Charity Competition Recap

WebDevStudios loves to help people, and this holiday season brought on a great new tradition of helping others for the entire team. In late November our awesome project managers Cristina Cannon and Jaimie Olmstead came up with the brilliant idea of a Holiday Charity Competition between the three teams that make up WebDevStudios—The A-Team, The Scream Team, and Team Maintainn.

The stage was set. With 20 days of competition, each team picked a charity that they could get behind along with a total donation goal they wished to reach. The first annual WDS holiday charity competition was off and running!Continue Reading

Attaching Posts with CMB2 for WordPress

CMB2 creates metaboxes and forms with custom fields that will blow your mind. Attached Posts in an extension of this extremely useful plugin.

Every once in a while you may find yourself needing to attach various pieces of content to various other pieces of content within your site. Maybe you want to display a list of related content on a single post but you’re extremely particular about which posts should display as related. Maybe you have a special page template which needs to display various posts as sections or chapters on a single page.

Whatever the case may be, we always seem to find ourselves needing to attach one type of content to another type of content. With CMB2 Attached Posts, we give you that ability.Continue Reading

Community Benefits from Peer Code Review

commbenefitsNobody likes being told that they’re wrong, right? Unless, I guess, you’re some kind of masochist. Personal quirks aside, though, everybody can benefit from somebody else taking a looking at their work and providing feedback. It happens informally all of the time; you post some non-working code to Stack Overflow so you can get some help from folks whom you hope will have a better sense of whatever you’re trying to tackle. Is this code review? Sort of. You’re asking for help, and while you’re not specifically asking for feedback, you’re sure going to get it.

Before you know it, users will be chiming in with what you’re doing wrong, what you should be doing instead and (hopefully) why those things are true. The next time you attempt to write some functionality similar to what you had previously posted, you’ll already have the knowledge to avoid the same problem from happening again.

Aside from solving a one-off problem, how else can you benefit from peer code review?Continue Reading

Removing PHP4 Compatibility in WordPress Custom Widgets

There I was. Working on adding PHP docblocks to widgets.php in /wp-includes, like you do, when I came across this:

So I set about trying to figure out the appropriate @since parameter to use. Do I base the @since on when the WP_Widget function was first added (2.8)? Or from when the time it was downgraded to a PHP4 compatibility wrapper for the __construct function (3.2)? I decided to ask the almighty Ben Lobaugh, my dev lead, to see what he thought. And Ben says:

I think you should erase the PHP4 constructor as PHP5 is required by WP now and submit it in another patch.

Done! Patch created and ticket submitted. That was easy.

Later…

[Chris]…are you going to update [your] custom widgets to not use WP_Widget?

WHADDYAMEAN? Surely I’m not using some old PHP4 compatibility wrapper function!Continue Reading

WordSesh 3 – 24 Hours of WordPress Presentations

It’s that time of year again — WordSesh is back for its third year! This year it is being held on Saturday, December 20th from 00:00 – 24:00 UTC. Not sure how to coordinate UTC time with your time zone? Don’t worry — check with Worldtimeserver.com if you get jumbled.

What is WordSesh?Rrz4Wdf9

WordSesh is a 1 full day (24 hours) event of WordPress presentations from the awesome people of the WordPress community. 1 presentation, every hour, on the hour.

What are the perks of WordSesh?

Well, for one thing, it’s completely FREE! You read that right — 24 hours of WordPress presentations from some of the smartest people around the world, for free. Not to mention, it’s all in the comfort of your own home. You get to jam pack your brain with knowledge while you’re in your PJ’s and you don’t even have to reach for your wallet. Grab some hot coco (with marshmallows!) and get cozy!Continue Reading