Both link_to_full_website() and link_back_to_device() both work correctly in all my tests, I am unable to replicate this issue.
Both functions are located within wp-content/plugins/device-theme-switcher/inc/inc.template-tags.php can you please ensure that file exists?
Also, are you calling that link_back_to_device() function within a hook? If so, which one? Any additional details you can provide so that I can replicate the issue is the only way I’ll be able to make any sort of patch.
No, nothing special. Just inside my header.php of my theme.
It’s heavily customized, so maybe there lies an error. I don’t know.
I found this strange myself, because the first thing I did was looking for that function inside your code.
Any luck or more details?
Did you try downloading a fresh copy of the plugin?
Good that you ask.
Now that you fixed the “whitespace-before-header”-error it works.
But somehow I can’t use desktop chrome with agent switcher plugin to check locally. I can only check with real hardware (iPad, Android) on real life severs.
Good that you ask.
Now that you fixed the “whitespace-before-header”-error it works.
But somehow I can’t use desktop chrome with agent switcher plugin to check locally. I can only check with real hardware (iPad, Android) on real life severs.