Device Theme Switcher
Theme Support (2 posts)

  1. James Whayman
    Posted 2 years ago #

    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.


  2. James Mehorter
    Plugin Author

    Posted 2 years ago #

    Hi Epiphron, I'm looking into this, thanks for letting me know!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Device Theme Switcher
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic