Title: get_theme_mod with get_template_part
Last modified: August 22, 2016

---

# get_theme_mod with get_template_part

 *  [dasr_amine](https://wordpress.org/support/users/dasr_amine/)
 * (@dasr_amine)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/get_theme_mod-with-get_template_part/)
 * this code wont work & i cant figuer it out
    `get_template_part( 'loop', get_theme_mod('
   layouts_sitting') ); ?>` is it ok or there something wrong with it thanks in 
   advance

The topic ‘get_theme_mod with get_template_part’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [dasr_amine](https://wordpress.org/support/users/dasr_amine/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/get_theme_mod-with-get_template_part/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
