Title: Custom Wrapper Template
Last modified: April 22, 2017

---

# Custom Wrapper Template

 *  [daneloctober](https://wordpress.org/support/users/daneloctober/)
 * (@daneloctober)
 * [9 years ago](https://wordpress.org/support/topic/custom-wrapper-template/)
 * Hello! First of all, great plugin. 🙂
 * Uhm, I’m having trouble when I create my custom wrapper.php. I understand that
   I need to create a goods-wrapper.php in my theme directory, but then when I copy
   the wrapper code to my custom template, I get an error. I realized the code that’s
   causing this is this part:
 * `load_template(dirname(__FILE__) . '/sidebar-goods.php');`
 * What do I change in this code to make it work? I’m thinking I’ll have to copy
   sidebar-goods.php in my theme directory as well, but I was hoping for a more 
   elegant solution?… Thank you!
 * Regards,
    Danel

The topic ‘Custom Wrapper Template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/goods-catalog.svg)
 * [Goods Catalog](https://wordpress.org/plugins/goods-catalog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/goods-catalog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/goods-catalog/)
 * [Active Topics](https://wordpress.org/support/plugin/goods-catalog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/goods-catalog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/goods-catalog/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [daneloctober](https://wordpress.org/support/users/daneloctober/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/custom-wrapper-template/)
 * Status: not resolved