WordPress.org

Ready to get started?Download WordPress

Forums

Device Theme Switcher
[resolved] Theme switcher widget doesn't show up (2 posts)

  1. openletter
    Member
    Posted 1 year ago #

    For some reason the desktop theme switcher widget doesn't show up when I add it. I am using the minileven theme, which has a 'view full site' link but that link doesn't seem to go anywhere.

    I'm not that great at PHP, so even the relatively small footer.php file is beyond me. Relevant code may be on line 19.

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

  2. James Mehorter
    Member
    Plugin Author

    Posted 1 year ago #

    Hi openletter,

    Thanks for your interest in the plugin! The 'View Full Website' and 'Back to the mobile site' links generated by either the widgets or the template functions will only display to the correct device. I.e. the 'View Full Website' is meant to be placed in your handheld theme and only handheld/tablet users will see this link. Similarly, the 'Back to the mobile site' link is meant to be placed in your active desktop theme, and will only be seen after a handheld user has clicked the 'View Full Website' link.

    This behavior may seem restrictive at first. But, it's meant to allow you to control how your users view your website.

    Lastly, in your footer.php the line 19 looks like a feature of the theme.. that is not the Device Theme Switcher (the plugin we're speaking about now). They are two completely different things and may not play well together. I would recommend using either the switcher functionality of your theme, or this plugin.. one or the other.

    James

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.