WordPress.org

Ready to get started?Download WordPress

Forums

Device Theme Switcher
Theme Support (2 posts)

  1. Epiphron
    Member
    Posted 9 months 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 8 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic