Title: Topic Tag: template_include | WordPress.org

---

# Topic Tag: template_include

    - Topic
    - Participants
    - Replies
    - Last Post
 *  -  [Retrieving filtered template name](https://wordpress.org/support/topic/retrieving-filtered-template-name/)
    -  Started by: [markfjb](https://wordpress.org/support/users/markfjb/)
    - 3
    - 5
    -  [5 years, 3 months ago](https://wordpress.org/support/topic/retrieving-filtered-template-name/#post-14113150)
    -  [bcworkz](https://wordpress.org/support/users/bcworkz/)
 *  -  [For custom templates, is it better to use `template_include` or `type_template`?](https://wordpress.org/support/topic/for-custom-templates-is-it-better-to-use-template_include-or-type_template/)
    -  Started by: [Kris Kelvin](https://wordpress.org/support/users/kanlukasz/)
    - 2
    - 1
    -  [5 years, 6 months ago](https://wordpress.org/support/topic/for-custom-templates-is-it-better-to-use-template_include-or-type_template/#post-13684206)
    -  [bcworkz](https://wordpress.org/support/users/bcworkz/)
 *  -  [[Elementor Website Builder - more than just a page builder] What’s the File Path to Elementor Templates](https://wordpress.org/support/topic/whats-the-file-path-to-elementor-templates/)
    -  Started by: [merlinthewarlock](https://wordpress.org/support/users/merlinthewarlock/)
    - 1
    - 0
    -  [6 years ago](https://wordpress.org/support/topic/whats-the-file-path-to-elementor-templates/)
    -  [merlinthewarlock](https://wordpress.org/support/users/merlinthewarlock/)
 *  -  [Problem with template_include and body_class](https://wordpress.org/support/topic/problem-with-template_include-and-body_class/)
    -  Started by: [ideacom](https://wordpress.org/support/users/ideacom/)
    - 2
    - 2
    -  [6 years ago](https://wordpress.org/support/topic/problem-with-template_include-and-body_class/#post-12901461)
    -  [ideacom](https://wordpress.org/support/users/ideacom/)
 *  -  [[Modern Events Calendar Lite] Search result page is forced to display with archive page template](https://wordpress.org/support/topic/search-result-page-is-forced-to-display-with-archive-page-template/)
    -  Started by: [西門 正 Code Guy](https://wordpress.org/support/users/simongcc/)
    - 2
    - 1
    -  [6 years, 2 months ago](https://wordpress.org/support/topic/search-result-page-is-forced-to-display-with-archive-page-template/#post-12569218)
    -  [webnus](https://wordpress.org/support/users/webnus/)
 *  -  [[Osom Author Pro] Show books archive as homepage](https://wordpress.org/support/topic/show-books-archive-as-homepage/)
    -  Started by: [ajra](https://wordpress.org/support/users/ajra/)
    - 3
    - 2
    -  [6 years, 8 months ago](https://wordpress.org/support/topic/show-books-archive-as-homepage/#post-11971192)
    -  [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 *  -  [[WP eCommerce] template_include hook not fired on store pages](https://wordpress.org/support/topic/template_include-hook-not-fired-on-store-pages/)
    -  Started by: [Phil](https://wordpress.org/support/users/philsbury/)
    - 1
    - 0
    -  [8 years, 10 months ago](https://wordpress.org/support/topic/template_include-hook-not-fired-on-store-pages/)
    -  [Phil](https://wordpress.org/support/users/philsbury/)
 *  -  [template_include not working in customizer previewer](https://wordpress.org/support/topic/template_include-not-working-in-customizer-previewer-2/)
    -  Started by: [jaschaio](https://wordpress.org/support/users/jaschaio/)
    - 2
    - 1
    -  [9 years, 8 months ago](https://wordpress.org/support/topic/template_include-not-working-in-customizer-previewer-2/#post-8196726)
    -  [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 *  -  [how to switching templates within theme that uses get_template_part](https://wordpress.org/support/topic/how-to-switching-templates-within-theme-that-uses-get_template_part/)
    -  Started by: [osamaibra](https://wordpress.org/support/users/osamaibra/)
    - 1
    - 0
    -  [9 years, 10 months ago](https://wordpress.org/support/topic/how-to-switching-templates-within-theme-that-uses-get_template_part/)
    -  [osamaibra](https://wordpress.org/support/users/osamaibra/)
 *  -  [Replace get_header() or header.php via plugin](https://wordpress.org/support/topic/replace-get_header-or-headerphp-with-plugin/)
    -  Started by: [Gloria](https://wordpress.org/support/users/erfo/)
    - 2
    - 1
    -  [9 years, 8 months ago](https://wordpress.org/support/topic/replace-get_header-or-headerphp-with-plugin/#post-8214260)
    -  [jramoscarmenates](https://wordpress.org/support/users/jramoscarmenates/)
 *  -  [Load custom template with template_include / locate_template](https://wordpress.org/support/topic/load-custom-template-with-template_include-locate_template/)
    -  Started by: [Guido](https://wordpress.org/support/users/guido07111975/)
    - 1
    - 2
    -  [11 years, 9 months ago](https://wordpress.org/support/topic/load-custom-template-with-template_include-locate_template/#post-5223784)
    -  [Guido](https://wordpress.org/support/users/guido07111975/)
 *  -  [How override the comment template](https://wordpress.org/support/topic/how-override-the-comment-template/)
    -  Started by: [alx.r89](https://wordpress.org/support/users/alxr89/)
    - 1
    - 1
    -  [12 years, 1 month ago](https://wordpress.org/support/topic/how-override-the-comment-template/#post-4812955)
    -  [alx.r89](https://wordpress.org/support/users/alxr89/)
 *  -  [template_include versus template_redirect used by plugin](https://wordpress.org/support/topic/template_include-versus-template_redirect-used-by-plugin/)
    -  Started by: [chrismichaels84](https://wordpress.org/support/users/chrismichaels84/)
    - 2
    - 5
    -  [12 years, 8 months ago](https://wordpress.org/support/topic/template_include-versus-template_redirect-used-by-plugin/#post-4186653)
    -  [chrismichaels84](https://wordpress.org/support/users/chrismichaels84/)
 *  -  ['template_include' hook still has 404 status](https://wordpress.org/support/topic/template_include-hook-still-has-404-status/)
    -  Started by: [dwieeb](https://wordpress.org/support/users/dwieeb/)
    - 2
    - 2
    -  [14 years, 1 month ago](https://wordpress.org/support/topic/template_include-hook-still-has-404-status/#post-2687000)
    -  [dwieeb](https://wordpress.org/support/users/dwieeb/)
 *  -  [Custom Post Type – Template](https://wordpress.org/support/topic/custom-post-type-template/)
    -  Started by: [loushou](https://wordpress.org/support/users/loushou/)
    - 2
    - 1
    -  [15 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-template/#post-1585433)
    -  [emrahgunduz](https://wordpress.org/support/users/emrahgunduz/)
 *   

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics

## Feeds

 * [RSS Recent Posts](https://wordpress.org/support/forums/feed/)
 * [RSS Recent Topics](https://wordpress.org/support/topics/feed/)