WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Language bar flags] How to make the text into link

[Plugin: Language bar flags] How to make the text into link

  • Hi All,

    Having some newbie troubles over here 😉
    I am using this plugin and need to tweak it a little.

    At the left there are a couple of country flags and on the right there is some text to go with it.

    <div id="langbf_bar">
            <div class="langbf_links">
               <ul>
                 <?php echo $output; ?>
               </ul>
    	   <?php if(get_option('langbf_title') != ''){ echo '<span class="langbf_title">' . get_option('langbf_title') . '</span>'; } ?>
            </div>
          </div>

    This is the code like it is now, the first part takes care of the flags.
    The part from <?php takes care of the text which you can edit in the administration panel of the plugin.

    What i would want is this text to become a link. For instance google.com
    I tried this and it just didnt show up:

    <span class="langbf_title"><a href="http://www.google.com">Click Me </a></span>

    I tried it in HTML and php.

    Can’t get it to work, any leeds or tips?

    Thanks a bunch!

  • The topic ‘[Plugin: Language bar flags] How to make the text into link’ is closed to new replies.