Title: get_settings within an echo
Last modified: August 18, 2016

---

# get_settings within an echo

 *  [friend_of_grommit](https://wordpress.org/support/users/friend_of_grommit/)
 * (@friend_of_grommit)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/get_settings-within-an-echo/)
 * I’m no php expert (as is about to become evident)
 * I’m trying to use a get_settings along with an echo, and I can’t get it to work.
 * I’m trying to do something like:
 * `<?php include ("echo "wp-content/themes/get_settings('template')/features.php"");?
   >`
 * But it doesn’t work. 🙁
 * Can anyone offer help please?
 * Thank you!

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

 *  [Ming](https://wordpress.org/support/users/ming/)
 * (@ming)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/get_settings-within-an-echo/#post-339904)
 * The easiest way is to use the predefined TEMPLATEPATH.
 * `<?php include (TEMPLATEPATH . '/features.php'); ?>`
 *  Thread Starter [friend_of_grommit](https://wordpress.org/support/users/friend_of_grommit/)
 * (@friend_of_grommit)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/get_settings-within-an-echo/#post-340030)
 * SUPER suggestion!!! Thank you! 🙂

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

The topic ‘get_settings within an echo’ is closed to new replies.

## Tags

 * [get_settings](https://wordpress.org/support/topic-tag/get_settings/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [friend_of_grommit](https://wordpress.org/support/users/friend_of_grommit/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/get_settings-within-an-echo/#post-340030)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
