# 5.97 Some template parts have multiple definitions

**URL:** <https://forum.pinegrow.com/t/5-97-some-template-parts-have-multiple-definitions/4395>\
**Category:** Bug Reports\
**Created:** [August 1, 2020, 8:48am UTC](https://forum.pinegrow.com/t/5-97-some-template-parts-have-multiple-definitions/4395 "2020-08-01T08:48:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mazzel](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mazzel](https://forum.pinegrow.com/u/mazzel)\
**Post date:** [August 1, 2020, 8:48am UTC](https://forum.pinegrow.com/t/5-97-some-template-parts-have-multiple-definitions/4395/1 "2020-08-01T08:48:33Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/2/26b1cb1aeaced9ffeae0dd806a8095c8adf45b19.png)  
I got this while pressing Ctrl-M (replaces ctrl-W in 5.97)  
Maybe I also issue a bug reprt for Ctrl-M but I must first verify if this really inserts new code in my html, it should only export the WP theme… later, first this one:

This one:  
each template part should be defined just once per theme with action Define template part. It can be included multiple times with the action include template part.

When I check for example archive.php I only find one template part, so I think it is a bug.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/c/cbb30bda43585072b5cec997696b65e3a2a5dfdd.png)

---

_[View the full topic](https://forum.pinegrow.com/t/5-97-some-template-parts-have-multiple-definitions/4395)._
