Adds a field to select a page, filtered on pages of a specific template
This is an add-on for the Advanced Custom Fields WordPress plugin and will not provide any functionality to WordPress unless Advanced Custom Fields is installed and activated.
The Pages by Template field provides a new kind of field which allows you to choose pages based on their assigned templates (custom templates). When creating the field in ACF you may choose one or multiple templates to display pages from. You can also choose the ability to select one page or more in which the type will change between checkboxes and radio buttons.
The return value is one or more post objects. Display these in the same way you would a Relationship field or Post Object field.
This ACF field type is compatible with:
- ACF 4
- Copy the
acf-pages-by-template
folder into yourwp-content/plugins
folder - Activate the Pages by template plugin via the plugins admin page
- Create a new field via ACF and select the Pages by template type
- Please refer to the description for more info regarding the field type settings
Please see readme.txt
for changelog