PHP function in WP sidebar - help needed!

Discussion in 'PHP' started by spleep1, Dec 9, 2008.

  1. #1
    Hi all!

    My site is horseraceaustralia.com - and i suck balls at php

    How do/can i add a "nofollow" attribute to all the links in my lefthandsidebar?

    Any ideas what the function command is?

    Any help or suggestions would be greatly appreciated :)
     
    spleep1, Dec 9, 2008 IP
  2. firman01

    firman01 Well-Known Member

    Messages:
    155
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    165
    #2
    well.. first of all.. how do you display the link in the left sidebar?
     
    firman01, Dec 9, 2008 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,934
    Likes Received:
    4,563
    Best Answers:
    124
    Trophy Points:
    665
    #3
    firman is right, give us a snippet of the code and we can help. Essentially you are trying to output the following

    <a href='http://example.com' rel='nofollow'>click here</a>
    Code (markup):
     
    sarahk, Dec 10, 2008 IP