# Can't load template in plugin?

**URL:** <https://forum.getkirby.com/t/cant-load-template-in-plugin/11608>\
**Category:** Questions\
**Tags:** v2\
**Created:** [November 7, 2018, 9:15pm UTC](https://forum.getkirby.com/t/cant-load-template-in-plugin/11608 "2018-11-07T21:15:12Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 7, 2018, 9:59pm UTC](https://forum.getkirby.com/t/cant-load-template-in-plugin/11608/6 "2018-11-07T21:59:09Z")

</div>

No, registering just means that Kirby knows where to find the template (it would otherwise look for it in `site/templates`, not in your plugin folder).

You would still have to use `tpl::load()` to load the template, because this is not done automatically. How would Kirby know what template to load for a page that doesn’t exist? By default, the name of the content file determines the template that renders the content. In the absence of this, you have to tell Kirby to load the template.

There are a few downsides to the `tpl::load()` method, you would have to pass the variables on to the template and down to the snippets used within the template.

I’d probably still rather just load the template then to create a new page - and no, if you load the template, you don’t need a content folder.

See this example: [Render a template without the corresponding content](https://forum.getkirby.com/t/render-a-template-without-the-corresponding-content/10675/4?u=texnixe)

---

_[View the full topic](https://forum.getkirby.com/t/cant-load-template-in-plugin/11608)._
