WordPress.org

Forums

Device Theme Switcher
Theme Support (2 posts)

  1. James Whayman
    Member
    Posted 1 year 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.

    http://wordpress.org/plugins/device-theme-switcher/

  2. James Mehorter
    Member
    Plugin Author

    Posted 1 year 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