Title: Custom Theme Path
Last modified: May 30, 2018

---

# Custom Theme Path

 *  Resolved [davidoliverasinfo](https://wordpress.org/support/users/davidoliverasinfo/)
 * (@davidoliverasinfo)
 * [8 years ago](https://wordpress.org/support/topic/custom-theme-path/)
 * I just created a custom theme to create a newsletter and uploaded to: wp-content/
   extensions/newsletter/emails/themes/mytheme.
 * From my theme.php file I want to load the header.php and footer.php allocated
   in the same directory. Any idea how to do it?
 * Something like:
 * `<?php include WP_THEME_DIR . '/extensions/newsletter/emails/themes/mytheme/header.
   php'; ?>`
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [8 years ago](https://wordpress.org/support/topic/custom-theme-path/#post-10341306)
 * include __DIR__ . ‘/header.php’;
 * Stefano.
 *  Thread Starter [davidoliverasinfo](https://wordpress.org/support/users/davidoliverasinfo/)
 * (@davidoliverasinfo)
 * [8 years ago](https://wordpress.org/support/topic/custom-theme-path/#post-10341394)
 * You rocks buddy!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Theme Path’ is closed to new replies.

 * ![](https://ps.w.org/newsletter/assets/icon-256x256.png?rev=1052028)
 * [Newsletter - Send awesome emails from WordPress](https://wordpress.org/plugins/newsletter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/newsletter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/newsletter/)
 * [Active Topics](https://wordpress.org/support/plugin/newsletter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/newsletter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/newsletter/reviews/)

## Tags

 * [custom theme](https://wordpress.org/support/topic-tag/custom-theme/)

 * 2 replies
 * 2 participants
 * Last reply from: [davidoliverasinfo](https://wordpress.org/support/users/davidoliverasinfo/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/custom-theme-path/#post-10341394)
 * Status: resolved