• Resolved cableghost

    (@cableghost)


    I use a language translation plugin and wish to nofollow the translation flag links.

    Below is the code I place in my template…is there a means of adding nofollow to this piece of code, or must I add it directly to the plugin code?

    <?php if(function_exists("bentr_build_flags_bar")) { bentr_build_flags_bar(); } ?>

    -Scott

Viewing 5 replies - 1 through 5 (of 5 total)
  • I believe the function that actually produces the links is.. (the function you posted above calls the function below).

    bentr_get_flags_bar()

    50 lines or so into the function are the flag links..

    If you need help modifying the code, post the necessary lines of code here (i pulled my information from a google search result, so the code could differ), and i’ll help you make the adjustments…. 🙂

    Thread Starter cableghost

    (@cableghost)

    @mark thanks, in advance. I see reference to href in a few places in functions.php, but I am not certain what to edit.

    The functions file is large, so I have uploaded a txt version of it and the main php file here:

    http://test.9001sites.com/files/functions.txt
    http://test.9001sites.com/files/bentr-translated.txt

    -Scott

    Replace your functions.php with the one in the pastebin below.

    http://wordpress.pastebin.com/LiRQjyK9

    Only three lines need changing, but i figured it would be quicker if i just make the appropriate changes. The second file wasn’t needed, so no adjustment required there.

    Hope that helps.. 🙂

    Thread Starter cableghost

    (@cableghost)

    @mark Perfect, thank you!

    For helping in such a way, do you have a website you would like a backlink to? I could add it to one of several sites I have.

    -Scott

    I only have my free WordPress.com blog for the moment.

    t31os.wordpress.com

    No link necessarily, but welcome all the same.. 🙂

    And i’m happy to help.. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Nofollow PHP Code’ is closed to new replies.