Changes between Initial Version and Version 1 of Ticket #18265, comment 22
- Timestamp:
- 07/27/2011 01:06:04 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18265, comment 22
initial v1 1 Thinking more about the ideal load_template() function, even did accept a $data arg, it would still be akward to use, since it's called from WP Core, not your own code.1 Thinking more about the ideal load_template() function, even if did accept a $data arg, it would still be akward to use, since it's called from WP Core, not your own code. 2 2 3 3 But with the 'template_include' filter you can do pretty much whatever you want: check {{{basename( $template )}}}, use conditional tags like is_single(), use your own version of load_template() etc.