WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress Mobile Pack] mobile site switch link

[Plugin: WordPress Mobile Pack] mobile site switch link

  • budestrings
    Member

    @budestrings

    hi.

    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

    http://wordpress.org/extend/plugins/wordpress-mobile-pack/

Viewing 3 replies - 1 through 3 (of 3 total)
  • budestrings
    Member

    @budestrings

    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 :

    </p>
    <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

    cherryu
    Member

    @cherryu

    I already download this plugin, hopes work well.

    Gabriel
    Member

    @gabriel78h

    Why didn’t you just use CSS?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress Mobile Pack] mobile site switch link’ is closed to new replies.