Convert php line to display link instead of plain text
-
Hi All,
Having some newbie troubles over here ??
I am using this language bar flags 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="https://www.google.com">Click for the Googles </a></span>
I tried it in HTML and php.
Can’t get it to work, any leeds or tips?
Thanks a bunch!
- The topic ‘Convert php line to display link instead of plain text’ is closed to new replies.