Skip to content

Added filter for template include path#6

Open
retgef wants to merge 1 commit intocrowdfavorite:masterfrom
retgef:master
Open

Added filter for template include path#6
retgef wants to merge 1 commit intocrowdfavorite:masterfrom
retgef:master

Conversation

@retgef
Copy link

@retgef retgef commented Oct 16, 2012

This gives plugins and child themes the flexibility to alter the include path. A use case is allowing users to define Page Templates for custom post types. Instead of creating multiple exact templates for each slug, one alternate template can be used and included via the filter.

This gives plugins and child themes the flexibility to alter the include path.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows developers to further extend the logic of Carrington Core alternate template hierarchy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant