Support » Plugin: WPAdverts - Classifieds Plugin » How to add nofollow for all links in ads

  • Resolved vinznsk

    (@vinznsk)


    Hello!

    Could you tell me how to hide links with nofollow
    1. For contact information (I have facebook field there, users can put website url, so I want to hide contact information to noindex/nofollow (where can I change this code?)

    2. How to add nofollow for all links in ad? I know how to do it for the whole website with plugin, but how to do in only for ads?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    1. if you have the links add ed to Ad details pages using Custom Fields then right now the only way to do that is to open file wpadverts-custom-fields/wpadverts-custom-fields.php file and add change the line 884

    
    $data[] = sprintf( '<a href="%s">%s</a>', esc_html( $value ), esc_html( $value ) );
    

    2. i suppose you can you some third-party plugin which will update all <a> tags before rendering them on site.

Viewing 1 replies (of 1 total)
  • The topic ‘How to add nofollow for all links in ads’ is closed to new replies.