Title: Hook for template
Last modified: August 30, 2016

---

# Hook for template

 *  [Boip3](https://wordpress.org/support/users/boip3/)
 * (@boip3)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/hook-for-template/)
 * Hi, is it possible to use a hook to put the php code of the default template 
   in themes files (like function.php) instead of in the admin.
 * [https://wordpress.org/plugins/ajax-load-more/](https://wordpress.org/plugins/ajax-load-more/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/hook-for-template/#post-6656255)
 * you can store templates in your theme directory using the Theme Repeaters add-
   on. If that’s what you mean.

Viewing 1 replies (of 1 total)

The topic ‘Hook for template’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/hook-for-template/#post-6656255)
 * Status: not resolved