Content Modelling: The Most Overlooked Route To A Successful WordPress Site

Too many WordPress site owners force round pegs into square holes by building their sites on the built-in content model of posts, pages, categories and tags, creating major long-term headaches and constraints for the design and management of the site.

Taking a little time up front in the design process, or even overhauling a current site, to create a content model that genuinely reflects the type and range of content you are publishing will dramatically increase your site’s flexibility and provide a superior experience for both you, the site owner, and your visitors.

In this article, we’ll take a look at how simple it is to model your site’s content, when to use the built-in model and when to extend it with custom post types and taxonomies.

Handdrawn diagram of the built-in WordPress content model

Read more »

How to Duplicate a WordPress Post or Page

There may be a number of reasons for wanting to duplicate a WordPress post or page. One common reason may be to provide an easy way for clients to get the basic look of pre-configured post/page. They can then change what they like without having to know how to format anything.

Luckily, there’s a very handy plugin called Duplicate Post that will let you do just that.

Using the Duplicate Post Plugin

featured-clone

Read more »

WordPress Power Tools – Plugins to Build a Killer Portfolio

The WordPress Community has over 23,000 plugins to date that do a crazy amount of things. I’m going to show you three quality, free plugins that can help you kickstart a well structured portfolio.
TL;DR
If you’re here to scan the article, here’s a list of the plugins I’m talking about:

Custom Post Types UI
Meta Box
Posts 2 Posts

Download the theme source code.

Now for the most part, these plugins all do something we should know how to do using the WordPress APIs.

featured-image

Read more »

Add Custom Post Types to Tags and Categories in WordPress

WordPress gives you the ability to add custom post types and taxonomies easily with some simple code in your functions.php file, or through the use of a plugin like CustomPress. That means, you can quickly turn your WordPress site into a fairly well-featured CMS.

The only problem is, out of the box, WordPress does not automatically take your newly created custom post types and add them to the archive pages for existing taxonomies ‘categories’ or ‘tags.’

WPMU-Featured-Image

Read more »

Convert WordPress Pages to Posts or CPTs

There may come a time when you’ll want to convert a WordPress post to a page, a page to a post, a page to a Custom Post Type post, or some other option. Maybe you’re getting posts more organized or changing themes that have CPTs that you don’t want to disappear. This is easily and quickly accomplished with the help of a WordPress plugin.
Understanding Post Types

WordPress Change Convert Posts to Pages and Custom Post Type conversions

Read more »

Remove Page and Post Write Panel Features

Ever heard of Custom Write Panels? Basically, you can add or remove meta boxes (a.k.a. writing ‘features’) for different post types. For example, with the powerful CustomPress plugin (as with some other custom post type tools), you have these feature options:

But what about the ‘post’ and ‘page’ post types that ship with WordPress? What if you want to customize which meta boxes are displayed when writing posts and pages?

We can use the remove_post_type_support function to remove meta boxes even for Posts and Pages.

Code Snippets
Contributors can write posts but not add Featured Images

Customize the Page and Post Write Panels by removing meta boxes

Read more »

3 WordPress Title Box Hacks

These 3 title box snippets (all tested with the Twenty Eleven theme’s functions.php on WP 3.4.1) will let you customize your “New Page” or “New Post” title areas.
Change default “Enter title here” text for Posts and Pages

1
2
3
4
function title_text_input( $title ){
return $title = 'What are you feeling?';
}
add_filter( 'enter_title_here', 'title_text_input' );

Source: WPSnipp.com

It works for both Posts and Pages.

Change default “Enter title here” text for Custom Post Type Posts

1
2
3
4
5
6
7
8
function change_default_title( $title ){
$screen = get_current_screen();
if  ( 'pricing_table_post_type' == $screen->post_type ) {
$title = 'Enter Pricing CPT Title';
}
return $title;
}
add_filter( 'enter_title_here', 'change_default_title' );

Source: WPSnipp.com

WordPress Post Title Snippets

Read more »

How to Add Custom Post Types to Your Home Page and Feeds

Custom post types are a powerful way to extend the functionality of your website, creating a more personal experience for the viewer, and also the admin. But when you create a new custom post type, it is not automatically added to the site’s main loop. If that custom post type is one you plan to feature on the homepage of you’ll need to modify your theme’s functions.php file.

Luckily, that’s done with just a few lines of code.
Adding Custom Post Type to your Home Page in WordPress
function custom_conference_in_home_loop( $query ) {
if ( is_home() && $query->is_main_query() )

Custom Post Types in Wordpress Loop and Feed

Read more »

Organizing your site with Custom Post Types, Taxonomies, and Fields

Custom Post Types,Taxonomies, and Fields all enhance WordPress information architecture capabilities. Folks continue to be confused on what these things are and when to use them. Let’s present a use case to explain when best to use these powerful tools. This use case explains when to use these powerful tools.
Normal Everyday Blog Posts
When you post to your personal blog about what you’ve been doing today, it’s no big deal.

Come up with a smarmy title
Type out some witty commentary
Add a couple photos
Select a category such as “Home Life,” “Work Life, “ or “Play Life”

Information Architecture - Bulletin board with sticky notes used to plan site organization

Read more »