Title: get_theme_mod() Dropdown-pages
Last modified: August 22, 2016

---

# get_theme_mod() Dropdown-pages

 *  Resolved [dock00](https://wordpress.org/support/users/dock00/)
 * (@dock00)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/get_theme_mod-dropdown-pages/)
 * Hi,
    i’ve a dropdown-pages on the customizer section, i need to echo the selected
   page name (not the id) in the front-end. Anyone know how to do that?
 * Already spend a few hours on google but with no luck.
    Is this possible?
 * Thanks in advance
    Dock

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

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [11 years, 3 months ago](https://wordpress.org/support/topic/get_theme_mod-dropdown-pages/#post-5823687)
 * Try:
 *     ```
       $id = intval( get_theme_mod( 'page_id' ) );
   
       $title = get_the_title( $id );
   
       echo esc_html( $title );
       ```
   
 * The thing to keep in mind is that you will need to change the theme_mod to what
   you have set yours to. I only used `page_id` as an example.
 *  Thread Starter [dock00](https://wordpress.org/support/users/dock00/)
 * (@dock00)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/get_theme_mod-dropdown-pages/#post-5823735)
 * works like a charm.
    Thank you so much. I owe you a beer 😉
 *  Thread Starter [dock00](https://wordpress.org/support/users/dock00/)
 * (@dock00)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/get_theme_mod-dropdown-pages/#post-5823741)
 * resolved
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [11 years, 3 months ago](https://wordpress.org/support/topic/get_theme_mod-dropdown-pages/#post-5823742)
 * Glad it worked for ya! 🙂

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

The topic ‘get_theme_mod() Dropdown-pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/get_theme_mod-dropdown-pages/#post-5823742)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
