Multiple Fields in a Drop Down Relationship Pick List Using a Filter
When you need to change what is shown in the drop-down Select Field in a Relationship, you can use this method to base the value on other values in Post Type.
When you need to change what is shown in the drop-down Select Field in a Relationship, you can use this method to base the value on other values in Post Type.
Publicize
Integrating with other Plugins and special instructions for setting up specific plugins to work with Pods.
What is it? The XY problem is asking about your attempted solution rather than your actual problem. This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help. User wants to do X. User doesn’t know how to do …
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 …
Provide different date format options to your date fields using an Output Filter for your Magic Tag.
Replacing “More Fields” for the Pods Meta Box
<?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 …
Used to modify the output of your fields using built-in or custom functions, especially helpful for conditional formatting or for complicated display rules.
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