The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WordPress Mobile Pack
mobile site switch link (4 posts)

  1. budestrings
    Posted 4 years ago #


    thanks for a great plugin; seems to be working nicely.

    i do however have a small issue with the 'switch to our mobile site' link which the plugin has placed on my site. i would like to change its position from where it is - at the bottom left of the page - to the bottom centre of the page, but i do not know where to go to change this behaviour.

    many thanks, jan


  2. budestrings
    Posted 4 years ago #

    ok - got a bit further.

    i got rid of the unwanted link by turning off the switcher link option in the plugin settings. i the added the following code to my themes footer.php :

    <a href='?wpmp_switcher=mobile' onclick='document.cookie="wpmp_switcher=mobile;path=/;expires=Tue, 01-01-2030 00:00:00 GMT";'>Switch to our Mobile site</a>

    which gives me a switcher link centered in the footer

    however, disabling the link in the plugin settings removes it from the mobile site, so there is no link to switch back to the desktop version. i've tried to put the following code into footer of the mobile theme, but this had no effect:

    <a href='?wpmp_switcher=desktop' onclick='document.cookie="wpmp_switcher=desktop;path=/;expires=Tue, 01-01-2030 00:00:00 GMT";'>Switch to our desktop site</a>

    so - where can i put this code in the mobile theme to give me a working link back to the desktop version?

    cheers, jan

  3. cherryu
    Posted 4 years ago #

    I already download this plugin, hopes work well.

  4. Gabriel
    Posted 4 years ago #

    Why didn't you just use CSS?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Mobile Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic