WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Mobile Pack
mobile site switch link (4 posts)

  1. budestrings
    Member
    Posted 2 years ago #

    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/

  2. budestrings
    Member
    Posted 2 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 :

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

  3. cherryu
    Member
    Posted 2 years ago #

    I already download this plugin, hopes work well.

  4. Gabriel
    Member
    Posted 2 years ago #

    Why didn't you just use CSS?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic