Title: Theme Support
Last modified: August 21, 2016

---

# Theme Support

 *  [James Whayman [WildPress]](https://wordpress.org/support/users/epiphron/)
 * (@epiphron)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/theme-support-6/)
 * Hey James,
 * Thanks for taking the time to develop this plugin. It’s great!
 * Just something I’ve encountered. My mobile theme uses add_theme_support(‘custom-
   header’); to display a header image.
 * This works correctly when the mobile theme is activated in WordPress as the default
   theme, however, when I have my default theme set as my desktop theme, it doesn’t
   work.
 * More specifically, calling get_custom_header(), returns an object with an empty
   url property, when the main theme is the default. It returns the correct url 
   when the mobile theme is the default.
 * Is there a way around this? Thanks in advance.
 * [http://wordpress.org/plugins/device-theme-switcher/](http://wordpress.org/plugins/device-theme-switcher/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [James Mehorter](https://wordpress.org/support/users/jamesmehorter/)
 * (@jamesmehorter)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/theme-support-6/#post-4293031)
 * Hi Epiphron, I’m looking into this, thanks for letting me know!

Viewing 1 replies (of 1 total)

The topic ‘Theme Support’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/device-theme-switcher_b8a362.svg)
 * [Plugin Name: Device Theme Switcher](https://wordpress.org/plugins/device-theme-switcher/)
 * [Support Threads](https://wordpress.org/support/plugin/device-theme-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/device-theme-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/device-theme-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/device-theme-switcher/reviews/)

## Tags

 * [add_theme_support](https://wordpress.org/support/topic-tag/add_theme_support/)
 * [desktop](https://wordpress.org/support/topic-tag/desktop/)
 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 1 reply
 * 2 participants
 * Last reply from: [James Mehorter](https://wordpress.org/support/users/jamesmehorter/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/theme-support-6/#post-4293031)
 * Status: not resolved