How do I decide between a Custom Taxonomy or a Custom Post Type?

If your item (taxonomy or CPT) can stand alone by itself as a page of detail, it should be a CPT. If it can only exist as a group of things, it’s a Custom Taxonomy. For instance, I don’t feel Authors is a Custom Taxonomy of Books. They’re both Custom Post Types and related to …

Read more

Custom Settings Page Output Using Pods API

<?php ​ /* place the following code in functions.php */ ​ function get_company_details() { $pod = pods('company_details'); ​ $fields = array( 'company_name' => $pod->field('company_name'), 'street_address' => $pod->field('street_address'), 'city' => $pod->field('city'), 'state' => $pod->field('state'), 'postal_code' => $pod->field('postal_code'), 'telephone' => $pod->field('telephone') ); ​ return $fields; } ​ ?> <?php ​ /* place the following code in {@template-name}.php …

Read more

Display Filters with Magic Tags

Used to modify the output of your fields using built-in or custom functions, especially helpful for conditional formatting or for complicated display rules.

Special Magic Tags

If you want to pull back dynamic information from the Logged-in User, or Parameter Values or other special information about your WordPress site, you want to use the Special Magic Tags

Using Magic Tags

Explains the common usage for Magic Tags, where they can be used and how to access the standard post fields, custom fields and media fields in a Custom Post Type or Taxonomy.

Displaying Custom Settings with get_option

/* In this example my_custom_settings is the Custom Settings Page my_option is the field within that pod. You combine the two with an underscore to display them with get_option */ $my_option = get_option( 'my_custom_settings_my_option' );

Pods Shortcode

Using our Shortcode to get content on your website is often the easiest method since you can drop these into a page, HTML block or HTML Widget.