O'Reilly logo

WordPress Plugin Development Cookbook by Yannick Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. The Power of Custom Post Types

This chapter covers one of the most powerful features of WordPress, custom post types, through the following topics:

  • Creating a custom post type
  • Adding a new section to the custom post type editor
  • Displaying single custom post type items using custom templates
  • Creating an archive page for custom post types
  • Displaying custom post type data in shortcodes
  • Adding custom categories for custom post types
  • Hiding the category editor from the custom post type editor
  • Displaying additional columns in the custom post list page
  • Adding filters for custom categories to the custom post list page
  • Updating page title to include custom post data using plugin filters

Introduction

Building on its history of openness and ease-of-use, WordPress ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required