Skip to content

Practical examples for how to use Pods in WordPress templates

Notifications You must be signed in to change notification settings

andrewreal/wordpress-pods-examples

Repository files navigation

Wordpress Pods Examples

Practical examples for how to use Pods in WordPress templates

Examples include

Add a new post with Pods

In this example we assume that we have created a Question and Answer ('question') content type with Pods The question content type has the following Pods Fields

Find a user by boolean value

In this example we assume that the WordPress Users content type has been expanded with a booleam field with Pods We'll call our field 'Featured' and return array of featured users.

Group fields into Meta Boxes

Group Pods fields to pull related fields together in the WP_Admin user interface. Also allows you to set the title of the group instead of "More Fields".

Other Information

The Big Green Reference Table This reference table on Pods.io is a useful guide to help find out how to reference different types of Pods fields.

About

Practical examples for how to use Pods in WordPress templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages