This document details features that were added in Pods 2.6. In addition they require the WordPress REST API plugin version 2-beta9 or later and WordPress 4.3.1 or later. UPDATE: The WordPress REST API plugin is now included in WP Core as of WP 4.6. The separate plugin is no longer necessary. Pods can be used to extend […]
View DocSections
Sections > Build
- Extending Core WordPress REST API Routes With Pods
- Template Tags in Pods Templates
- Using Shortcodes in Pods Templates
- Create a Custom Post Type
- Create a Custom Taxonomy
- Extend a Post Type
- Associate a Post Type with a Taxonomy
- Extend a Taxonomy with Custom Fields
- Create an Advanced Content Type
- Using Magic Tags
- Using Special Magic Tags
Template Tags in Pods Templates
We’ve made several Conditional tags available for Pods Templates to make it easier to create the output you’re looking for in your Pods Templates. As PHP is deprecated in Pods Templates as of Pods 2.4, the focus was to provide some Advanced Markup options using conditional tags. These new tags are defined below and provide utility […]
View DocUsing Shortcodes in Pods Templates
Making this modification will allow Shortcodes to be called within Pods Templates, Custom Templates or within the Pods Shortcode itself. This will also allow you to call pods shortcodes within Pods Templates to call other templates.
View DocHow to Create a Custom Post Type
It’s simple to create Custom Post Types with Pods. This guide will walk you through the process. If you’re already confused, check out our guide to WordPress Custom Post Types. 1. Create Your Custom Post Type Navigate to Pods Admin > Add New and click on the Create New button. From the Content Type drop-down […]
View DocHow to Create a Custom Taxonomy
Custom Taxonomies are ways to organize and classify your content. When you have Pods installed they’re simple to create through the WordPress Admin Screens. If you’re not sure what a Custom Taxonomy is, or how to make best use of it, check out our guide to WordPress Custom Taxonomies. Create Your Custom Taxonomy Navigate to […]
View DocHow to Extend a Post Type
As well as creating new Custom Post Types, you can extend Post Types already available in your WordPress website. You may wish to extend the WordPress defaults, or extend a Post Type created by another plugin or theme. Select the Post Type to Extend Navigate to Pods Admin > Add New and select Extend Existing. […]
View DocHow to Associate a Post Type with a Taxonomy
Whenever you create a Custom Post Type, you’ll need to associate it to a Taxonomy for organization. And when you create a Custom Taxonomy, you’ll need to associate it with a Post Type, otherwise it will have nothing to classify. Here are some examples: A Books post type needs to be associated with Genre and […]
View DocHow to Extend a Taxonomy with Custom Fields
It’s possible to use Pods to extend your taxonomies. This means that you can add Custom Fields to your Taxonomies. There are two ways to do this: When you create a Custom Taxonomy select Enable extra fields for this Taxonomy from the Enable Extra Fields drop-down You can extend an existing Taxonomy, such as the […]
View DocHow to Create an Advanced Content Type
As well as the standard WordPress objects of Post Types, Taxonomies, and Fields, Pods lets you create Advanced Content Types. These Content Types are created in their own table in your database, meaning they have more flexibility than youget with standard Content Types. However, when you create them it means that you are reliant on […]
View DocUsing Magic Tags
Magic tags can be used in Pods Templates, Shortcodes Templates, and Pods Page Titles to easily return field values. These magic tags take the form of {@field_name}. Pods automatically retrieves the value of the field name specified in the magic tag. For example, {@lightsaber_color} returns the value for the field “lightsaber_color.” In certain fields in […]
View DocUsing Special Magic Tags
In some limited cases, listed below, additional “special magic tags” are available for use in addition to regular field-based magic tags. Special magic tags are used for getting specific URLs in a WordPress site. They either use WordPress functions, such as get_template_directory_uri() or plugins_url(), or PHP actions. Before Pods 2.3.10 in order to use some […]
View Doc