WordPress.org

Ready to get started?Download WordPress

Forums

Multisite Language Switcher
[resolved] MLS in the header with html code (in text area) (8 posts)

  1. Lyubo
    Member
    Posted 1 year ago #

    Hello realloc,
    at first: it is a great plugin and I see you do the greatest support for a free plugin!
    I have a theme from "Inktheme" and here I can place html text at the right side of the header. I have the possibility for custom theme css, too.
    And the home page is without side bar.
    Can I put the MLS - flags in the text area in the header with HTML code?
    Thank you!

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

  2. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Lyubo,

    Can you insert PHP-code in that textbox?

    Cheers,
    Dennis.

  3. Lyubo
    Member
    Posted 1 year ago #

    Hello Dennis,

    no I can not. I can insert only text and HTML in the general settings for the header of this theme.

    Cheers,
    Lyubo

  4. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    Please ask the author of the theme if there is a the possibility to add an action.

  5. Lyubo
    Member
    Posted 1 year ago #

    I did it: I can add PHP code manually in the header.php file.

  6. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    OK, then just add

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

    where you want to see the output of the plugin.

    Cheers,
    Dennis.

  7. Lyubo
    Member
    Posted 1 year ago #

    Thank you, Dennis!
    It works perfect! I will give for your plugin the best note.
    Cheers,
    Lyubo

  8. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    Very good!

    Cheers,
    Dennis.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic