WordPress – Custom Post Types / Custom Fields – WordPress

One of the top reasons we like to build websites with WordPress is that it is very user friendly for our clients to create and manage their own content.  It’s an intuitive-to-use content management system (CMS) for the average non-developer user, which can’t be said for some of its open source competitors such as Drupal or Joomla.  This is one of the many reasons why WordPress accounts for over 65% of all CMS based websites and nearly 43% of all websites in the world, and is only increasing the market share for each. To learn more, read our guide on Website Redesign.

As intuitive as WordPress is for the new user, I can still recall about a decade ago when I first starting working with it being initially perplexed by what the difference between pages and posts is.  One part that is confusing is that WordPress pages and posts are each different kinds of “post types”.  Once you understand that nuance, and that a “post type” is simply a convenient way to categorize and sort different types of content, you realize just how useful this can be.  For the above specific cases, a “post” is used to display the content for blog post articles and a “page” is used to display the content for static pages on your site, such as the home page, the contact page, etc. but they are both categorized (and stored in the database) as “posts”.  Perhaps if WordPress was starting again from the beginning they’d consider calling them “content types” to avoid the confusion, but alas WordPress got its start as a blogging platform where blog posts were its bread and butter, so that nomenclature stuck.

Here’s the cool part though, and what makes the organization into post types easy to work with:  You can create any kind of custom post type you want, and use this categorization to display content by post types.  In fact, if you already have a WordPress website, it’s likely you work with these custom post types already.  Does your website feature events, products, testimonials, or staff profiles?  Those are all different post types that your theme or an installed plugin created.  How about services, portfolio items, or projects?  Those are all custom post types as well.  What’s nifty about having the content sorted that way, is it makes it easy to feature all content of a certain type in one place, such as a scrolling list of testimonials on the home page, or a grid of staff member bios on the staff listing page.

So themes and plugins can create custom post types for you, and often that is the best way to go, but what if you have your own needs that don’t fit into any generic box?  Maybe you run a local zoo or wildlife refuge and want to have a separate profile for each of your animals.  You’d like it to be easy for your administrators to login to the site and add and edit all of the descriptions, images, and other vital information to display on the website.  You need to create a custom post type of “animals’.

There are a number of ways to accomplish this, but they fall into two categories:  use a plugin, or write some custom code.  While the coding part isn’t terribly difficult, it certainly should be left to an experienced WordPress developer.  Coding does has the advantage of keeping things lean and not tied to a plugin that could change or go away altogether, but in our experience using a plugin is the best approach for all but the absolutely simplest of applications, especially because the plugin we recommend, Custom Post Type UI, is so darn simple to use and lightweight (ie. doesn’t bog down your site).  Some of the competitors out there tend to create some unnecessary overhead, but Custom Post Type UI just handles the basics of registering a new post type using a straight forward GUI.

So you’ve created your new custom post type of “animals” and are ready to start creating content.  You’ll notice that on the sidebar admin menu when you logon to WordPress you’ll see a listing for “Animals” with the same kind of options as for “Posts” and “Pages” (ie. All Animals, Add New, etc.).  You go in to create your first animal, but you realize that there is only a simple content field available.  Wouldn’t it be handy if you had specific fields for all of the attributes you’d like for each animal such as species, weight, habitat, diet, etc?  That’s where another of our favorite plugins comes into play, Advanced Custom Fields (ACF).  With ACF you can add any type of content field you could imagine to your new custom post type:  text, date, image, files, maps, buttons, repeater fields, etc.  Bringing together Custom Post Type UI and Advanced Custom Fields makes customizing the content you create on your WordPress website virtually limitless.  In fact, we like ACF so much, we offer a free Advanced Custom Fields Pro license to all of our clients who are on a recurring security and performance plan.

The tricky part comes when you want to display all of this custom content you’ve created.  Custom Post Type UI has a premium plugin option that provides some framework for the basics without coding (it has a built in shortcode builder), but your best bet is usually to work with an experienced WordPress developer to build custom page templates to display and style your content just how you’d like.  For that matter, if you’re new to custom post types and custom fields and don’t consider yourself to be a WordPress enthusiast or do-it-yourselfer, it’s generally best to save yourself the learning curve of the aforementioned plugins and work with a team of experts.  The plugins do allow you to forgo any coding and the documentation is extensive, but ultimately you’d likely be better served spending your time working to build your business or fine tune your organization rather than fumble around with plugins.

With the above in mind, if you are looking to create some snazzy new custom content on your existing WordPress website, or you need to create a new website that allows for such flexibility, we’d love to learn about your project and help you out!

Leave a Comment


Work With Us

We've been building websites for over twenty years, and have learned a thing or two about how to make web projects go smoothly.

What Our Clients Say

Watermelon Web Works, LLC place picture
4.7
Based on 19 reviews
powered by Google
OMS Anita profile picture
OMS Anita
22:20 29 Nov 24
Watermelon Web Works has been incredible to work with. They are patient, understanding, and quick to answer any questions (or emergencies) you might have. After switching over to them to help re-vamp our online retail store, we hired them to build our wholesale website as well. I can't recommend them enough - Thank you team!
Garrett Lister profile picture
Garrett Lister
19:55 10 Jul 24
Jared and the watermelon team were great - they quickly interpreted our website needs and designed a wonderful site. The project management site worked great to keep track of project.
N B profile picture
N B
21:23 14 Nov 23
My previous web developer who I was very happy with retired and I was pretty sad about it because it seems now days it is hard to hire a web developer close by with a good set of skills who is interested in helping small business at reasonable prices. Then I found Watermelon and I have been very happy. They are responsive, are able to solve problems, and work at reasonable prices.
Dark Star Magick profile picture
Dark Star Magick
18:05 03 May 23
We hired Watermelon to help us with our website. They were very thorough and took the time to explain in layman's terms what they were doing and how we could improve SEO and site functionality. We will definitely be back for future website needs!
Astoria Column profile picture
Astoria Column
18:42 24 Apr 23
Great work and amazing service! We're a non-profit, and our priorities are always focused on maintaining the Astoria Column. We had a website built by someone else a few years ago, but without regular updating and maintenance, sections of our site were no longer functional. Joanna and the rest of the team came in and had everything working within a week and it's been smooth sailing since then!
Ben Harris profile picture
Ben Harris
19:25 26 Aug 19
Watermelon has been a fantastic web development partner. Through every phase of our project they have always been 100% responsive to our requests and have always provided highly knowledgeable, creative, prompt, and personable team members to work with. As a financial institution we’re always concerned about the security and maintenance or our website and Watermelon has always provided the appropriate resources in order to meet and/or exceed our compliance and security requirements. We would surely refer them to any business associates looking for a qualified WordPress web designer in the future. – Denali Federal Credit Union
Mohr IP Law Attorneys profile picture
Mohr IP Law Attorneys
00:33 11 Apr 19
Watermelon Web Works did a great job creating a custom shopping cart page for our firm. Gavynn in particular was especially helpful and responsive. We appreciated the upfront costs and the technical competency of Watermelon Web Works and would not hesitate to work with the people there again.
Kim Markle profile picture
Kim Markle
23:36 08 Feb 19
Our company has been working with the Watermelon team for more than 10 years to help build and grow our website and customer portal. They are not only extremely talented and responsive, but are continuously looking for ways for us to enhance our current website. They are consistent, provide excellent customer service and really know what they are doing. Highly recommend!
Rick Brodner profile picture
Rick Brodner
23:23 12 May 17
I cannot say enough good things about Watermelon. They are terrific communicators, highly competent coders, and really, really nice people. They were instrumental in helping us to assemble a very usable, easily maintainable website for our organization. They' have demonstrated great flexibility in accommodating our evolving needs. They have been highly responsive to any technical issues, typically resolving them in less than 4 hours. Watermelon Web Works will make your organization better, and your CFO/Treasurer will be happy when they see the bill - what more can you ask for?
CLOSE