Tutorials

Collections of all of our Tutorials, How To's, Step by Step Guides and Case Studies

Semi-Protected Download URLs in WordPress via Transients, Cookies, and Pods

Posted in

In this tutorial Jonathan Christopher explains how he used Pods to protect the download locations of media on his WordPress site in order to prevent hotlinking. He creates a “partial walled garden” to make content available to logged in, registered users only.

Pods Actions and Filters

Posted in ,

Learn about practical uses for Pods actions and filters with Kamil Grzegorczy. Kamil shows you how to set values for hidden fields, validate data, or send email notifications or take other actions when a field’s value is changed or when a Pods’ item is created or deleted.

Short Introduction to Pods 2 and New Field Input Filters

Posted in ,

In this great introduction to Pods 2.x Kamil Grzegorczy looks at the power of Pods’ action filters. Among the several examples Kamil gives is how to pods_form_ui_field_{$type}_value to set default values for a field.

Simple Pods UI Plugin Part 1

Posted in ,

Kamil Grzegorczy shows you how to build a Pods UI plugin to manage a books site, complete with bidirectional relationships between books, authors and genre.

Practical Example of Pods Filter- Google Geocode

Posted in ,

As an example of how to work with Pods’ pre_save filter, Kamil Grzegorczy shows you how to automatically populate a field with coordinates for Google Maps, from a field containing an address. This is a a great example of using Pods to make it easier to work with an external API, like the Google Maps API.

How To Use Bulk Actions In Pods

Posted in ,

Learn how to build a Pods UI plugin to manipulate large amounts of information from the database with Pods bulk actions.

Get Values From A Relationship Field

Posted in , , , , , ,

In this quick tutorial we will show you how to get values from a Pods’ relationship field, or a bi-directional relationship field between two different post types. There are many possible types of relationship fields, but one of the most common and powerful uses for …

Read more

Conclusion

Posted in , , , ,

That’s the end of the tutorial and its time for you to customize and extend this code to meet your needs. I give some ideas for taking this further, but I’d love to know what you come up with. Whatever it is, share the results and the code.

Step 6: Additional Options

Posted in , , , , , , , ,

Before finishing we will learn how to restrict access to the user directory and limit which users will be in the directory. We will also cover other methods for getting the values of fields that are better suited for when we only need one or two of the fields at a time.

Step 5: Creating A List Of Users and Profile Page

Posted in , , , , , , ,

Now it is time to create a user directory page on our page. This can be as simple as a list of names with links to author profile pages or a full fledged directory with all of the user’s information.