Title: Nofollow PHP Code
Last modified: August 19, 2016

---

# Nofollow PHP Code

 *  Resolved [cableghost](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/nofollow-php-code/)
 * 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)

 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/nofollow-php-code/#post-1593741)
 * 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](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/nofollow-php-code/#post-1593939)
 * [@mark](https://wordpress.org/support/users/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/functions.txt)
   
   [http://test.9001sites.com/files/bentr-translated.txt](http://test.9001sites.com/files/bentr-translated.txt)
 * -Scott
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/nofollow-php-code/#post-1593968)
 * Replace your functions.php with the one in the pastebin below.
 * [http://wordpress.pastebin.com/LiRQjyK9](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](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/nofollow-php-code/#post-1593994)
 * [@mark](https://wordpress.org/support/users/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
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/nofollow-php-code/#post-1594001)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/nofollow-php-code/#post-1594001)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
