Title: [Plugin: Custom Post Template] wp_get_theme error
Last modified: August 20, 2016

---

# [Plugin: Custom Post Template] wp_get_theme error

 *  [alxvallejo](https://wordpress.org/support/users/alxvallejo/)
 * (@alxvallejo)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-custom-post-template-wp_get_theme-error/)
 * Fatal error: Call to undefined function wp_get_theme() in C:\xampp\htdocs\dell\
   ct2\wp-content\plugins\custom-post-template\custom-post-templates.php on line
   164
 * Not sure why this is happening?
 * [http://wordpress.org/extend/plugins/custom-post-template/](http://wordpress.org/extend/plugins/custom-post-template/)

Viewing 1 replies (of 1 total)

 *  [danielpol](https://wordpress.org/support/users/danielpol/)
 * (@danielpol)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-custom-post-template-wp_get_theme-error/#post-2847922)
 * updating to the latest wp version will solve your problem. wp_get_theme() it’s
   implemented in 3.4 or so

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Custom Post Template] wp_get_theme error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-post-template.svg)
 * [Custom Post Template](https://wordpress.org/plugins/custom-post-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-template/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [danielpol](https://wordpress.org/support/users/danielpol/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-custom-post-template-wp_get_theme-error/#post-2847922)
 * Status: not resolved