WordPress.org

Ready to get started?Download WordPress

Forums

Any Mobile Theme Switcher
[resolved] does not work with child themes (16 posts)

  1. dfdumaresq
    Member
    Posted 2 years ago #

    When using a Child theme, loadMobileTheme() returns the theme name of the mobile theme rather than the parent theme, resulting in a blank page.

    http://wordpress.org/extend/plugins/any-mobile-theme-switcher/

  2. Dinesh Karki
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for that. This plugin doesn't support child theme yet. I will update a next release including this features.

  3. dfdumaresq
    Member
    Posted 2 years ago #

    I posted some code to your bug page, Dinesh. Hope it helps!

    Dave

  4. 4795209
    Member
    Posted 2 years ago #

    I'm thinking of trying this plug-in but do not understand the issue. When you say "child theme" are you referring to a secondary theme specifically to be used for mobile browsers/iphones, etc?

  5. 4795209
    Member
    Posted 2 years ago #

    This seems to be an unresolved issue with WordPress plug-ins....having a mobile/iphone theme switch available. If only there were some way to just automatically switch.

    I saw a page on Google (http://pelfusion.com/know-how/how-to-create-or-convert-website-into-mobile-format/) that would take a URL entered into a search form and take that typical website and just convert it to a very basic, plain list with no images or anything so that it would work with all mobile apps/browsers removing all graphics--just text and links and bare basics. Maybe an option box would be a good idea, so people with iphones or whatever could just click a box to select to have a plain HTML site?

  6. Dinesh Karki
    Member
    Plugin Author

    Posted 2 years ago #

    This plugin works well for secondary theme. The problem is that it doesn't support child theme. For example, Genesis Theme Framework uses child theme. It fails to redirect to child theme.

    But works ok with normal theme structure. Like if you have Theme 1 and Theme 2. And if Theme 1 is desktop theme and Theme 2 is Mobile theme. You can select Theme 2 be displayed in mobile devices from the plugin settings page.

    This plugin only detect the mobile browsers and redirect to the theme you have set. It doesn;t convert any theme structure.

  7. Dinesh Karki
    Member
    Plugin Author

    Posted 2 years ago #

    For Your Information, I am working in child theme issues. We will soon have a next release for Any Theme Mobile Switcher working with child themes.

  8. 4795209
    Member
    Posted 2 years ago #

    It's a brilliant idea for a theme, since every developer and business wants a mobile switcheroo application. The next step would be to create more mobile app themes for WordPress that are attractive but very simple (like color blocks or stripes).

    I'll try it out for my business website. Please let me know when you get time to work on it more.

  9. roadblock
    Member
    Posted 1 year ago #

    I developed my mobile theme for our newspaper, launched and didn't realize this plugin had the child theme bug. Any status update or ETA of the fix? I love the ability to switch different themes for different devices.

  10. maiyamckenzie
    Member
    Posted 1 year ago #

    It would be great to be able to support child themes for this plugin - please let us know when it's ready! Thanks so much

  11. dfdumaresq
    Member
    Posted 1 year ago #

    I've fixed the bug and offered it to Dinesh Karki. You can see it in operation at CoastalArtBeat.ca. Drop an email to dfdumaresq at gmail dot com and I'll be happy to send you a copy.

    dave

  12. Dinesh Karki
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks Dave for helping. I am really sorry. I have lot of commitments, so unable to work on it. I will try to work as soon as possible.

    Dave, really thanks a lot for supporting for child theme issues.

    Salute.

  13. dfdumaresq
    Member
    Posted 1 year ago #

    Happy to help, Dinesh. I've sent a zip to one person already since I posted above. Drop me a note should you want a copy too.

    dave

  14. Dinesh Karki
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed the Child theme issues.

    Update to the latest version 0.4 and you are done.

  15. dfdumaresq
    Member
    Posted 1 year ago #

    Thanks for all your good work, Dinesh!

    Dave

  16. Dinesh Karki
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks. Do update any issues you face. And thanks for your code. It helped me a lot.

    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic