WordPress.org

Ready to get started?Download WordPress

Forums

Multisite Language Switcher
[resolved] Multisite Language Switcher works only when logged in as wp-admin (11 posts)

  1. Peter Kus
    Member
    Posted 5 months ago #

    I have installed MLS plugin on multisite WP homepage and it works perfectly, however just as long as I stay logged in as wp-admin. When I log out, the flag buttons don't work!

    I have changed the header.php and style.css as described here: http://wordpress.org/support/topic/position-flags-in-wp-multisite-header?replies=9

    The homepage address is http://peterkus.net.

    Could you figure out why this happens?

    Thank you very much for your answer, Peter Kus

    http://wordpress.org/plugins/multisite-language-switcher/

  2. realloc
    Member
    Plugin Author

    Posted 5 months ago #

    I see the flag for ENG and SLO. Do you have a cache plugin activated?

  3. Peter Kus
    Member
    Posted 5 months ago #

    Hi,

    thank you for a very fast reply!

    If you mean a plugin like WP Super Cache than I don't have it (I have read a previous post about that).

    My installed and network activated plugins besides MLS are:
    All In One SEO Pack
    Flickr Badges Widget
    Post Types Order
    Simple Contact Info
    WassUp Real Time Analytics
    WP Google Fonts

    Thank you for your answer, Peter

  4. Peter Kus
    Member
    Posted 5 months ago #

    Also, when I log out, the flags SLO and ENG appear at slightly lower position as when I am logged in as wp-admin.

  5. realloc
    Member
    Plugin Author

    Posted 5 months ago #

    So you see the flags too? Could you describe please what exactly do you mean with not working?

  6. Peter Kus
    Member
    Posted 5 months ago #

    In Firefox or Sarafi I can see the flags and descriptions SLO and ENG, but they don't hover and the links on the flags are dead.
    When I log in however, they work OK.

    I don't see the flags on iPhone at all when logged out and the links of the flags are dead when logged in.

    I appreciate your help, thank you, Peter

  7. realloc
    Member
    Plugin Author

    Posted 5 months ago #

    I would move the div#language into the div#header. So just move the line

    <?php if ( function_exists( 'the_msls' ) ) the_msls(); ?>

    right after the line <div id="header">.

    Let me know,
    Dennis.

  8. Peter Kus
    Member
    Posted 4 months ago #

    Thank you very much, I think it works! I overlooked you reply the other day, I am sorry...

    Can you now just let me know how I can move the flags to the original position in the CSS? The original code

    #language { position:absolute; top:34px; right:7px; }
    #language a { margin-left:5px; }

    targets language. I would like to keep the header on its original position and just move the flags.

    Thank you, Peter

  9. realloc
    Member
    Plugin Author

    Posted 4 months ago #

    There were a div with the id "language" around the flags. It seems this container doesn't exist any more but your CSS needs this.

  10. Peter Kus
    Member
    Posted 4 months ago #

    I have moved the whole

    '<div id="language">
    <?php if ( function_exists( 'the_msls' ) ) the_msls(); ?>
    </div>'

    section right under the '<div id="header">' and it works perfectly!

    Thank you for a very efficient help! I would be glad to give you the best rating. Peter

  11. realloc
    Member
    Plugin Author

    Posted 4 months ago #

    OK, thank you. :)

Reply

You must log in to post.

About this Plugin

About this Topic