With Pods Templates, you can have them automatically output any custom fields or other content for any Post Type.
Contents
Quick Start
- Create the Pod Template for your Post Type for Singular and/or List views of your content.
- When editing your Post Type pod, go to the “Auto Template Options” tab.
- Click “Enable Automatic Pod Templates for this Pod” to turn it on.
- Choose the Singular Template you would like to use, if applicable.
- Choose the List Template you would like to use, if applicable.
- Click “Save Pod” to save your settings and go take a look at any of your Singular / Archive views to see it in action.
Settings
- Singular Template
This is the template that will show when we detect your Post Type is in the Singular context.- Singular Template Location
This is the location to show the Singular template. The available options are:- Before
- After
- Replace (this will replace all of your normal
post_content
which may include existing content or blocks)
- Singular Template Filter
This is the filter to use for the Singular template integration. If you have a custom filter you need to use in your theme, you can choose to use a custom one here.- Custom Singular Template Filter
If you want to use a custom hook for Singular views, you can specify which one that is here.
- Custom Singular Template Filter
- Singular Template Location
- List Template
This is the template that will show when we detect your Post Type is in the List context (Post Type Archive, Taxonomy Archive, Author Archive, etc).- List Template Location
This is the location to show the List template. The available options are:- Before
- After
- Replace (this will replace all of your normal
post_content
which may include existing content or blocks)
- List Template Filter
This is the filter to use for the List template integration. If you have a custom filter you need to use in your theme, you can choose to use a custom one here.- Custom List Template Filter
If you want to use a custom hook for List views, you can specify which one that is here.
- Custom List Template Filter
- List Template Location