Title: deeem119's Replies | WordPress.org

---

# deeem119

  [  ](https://wordpress.org/support/users/deeem119/)

 *   [Profile](https://wordpress.org/support/users/deeem119/)
 *   [Topics Started](https://wordpress.org/support/users/deeem119/topics/)
 *   [Replies Created](https://wordpress.org/support/users/deeem119/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/deeem119/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/deeem119/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/deeem119/engagements/)
 *   [Favorites](https://wordpress.org/support/users/deeem119/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Nofollow and conditionnal](https://wordpress.org/support/topic/nofollow-and-conditionnal/)
 *  [deeem119](https://wordpress.org/support/users/deeem119/)
 * (@deeem119)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/nofollow-and-conditionnal/#post-1808679)
 * I did have a bit of a play with it. Not sure how you’ve got yours set up. I’ve
   tried a very basic test install, just WP 3.0.3 with a couple of pages and some
   posts with the default theme. I put that code block at the top, and it worked
   how I think you wanted it, i.e. the homepage, [http://www.domain.com/](http://www.domain.com/),
   shows the dofollow link and all other pages, including posts, show nofollow.
 * Any chance we can have a peek at the site?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Nofollow and conditionnal](https://wordpress.org/support/topic/nofollow-and-conditionnal/)
 *  [deeem119](https://wordpress.org/support/users/deeem119/)
 * (@deeem119)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/nofollow-and-conditionnal/#post-1808424)
 * Try using is_front_page() instead of is_home() – I think that might be the effect
   you’re looking for.
 * `<a title="123" rel="<?php if (is_front_page()) {echo ('dofollow');} else {echo('
   nofollow');}?>" href="http://mywebsite.com">My link</a>`
 * is_home only triggers on the main posts page.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Nofollow and conditionnal](https://wordpress.org/support/topic/nofollow-and-conditionnal/)
 *  [deeem119](https://wordpress.org/support/users/deeem119/)
 * (@deeem119)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/nofollow-and-conditionnal/#post-1808409)
 * Which way does it not work? Are all rel attributes being set to dofollow, nofollow
   or blank?
 * You might want to get rid of the second condition (is_single()) and just rely
   on the first.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Plugin needed to create a contact form with boxes](https://wordpress.org/support/topic/plugin-needed-to-create-a-contact-form-with-boxes/)
 *  [deeem119](https://wordpress.org/support/users/deeem119/)
 * (@deeem119)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-needed-to-create-a-contact-form-with-boxes/#post-1296718)
 * Try this:
 * [http://contactform7.com/](http://contactform7.com/)
 * It’s quite versatile once you start using it.

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