• Resolved packsdotxxx

    (@packsdotxxx)


    I have a format to send links to my site.
    <em><a href="#" target="_blank" rel="nofollow noopener noreferrer">Download Link</a></em>
    but when they send the target_blank attribute is removed.

    • This topic was modified 3 years, 1 month ago by packsdotxxx.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Yes, by default _blank attributes are removed from submitted posts. It’s a recommended security feature. If you need to allow _blank attributes, add the following code to your theme (or child theme) functions.php, or add via simple custom plugin.

    function usp_content_patterns($array) { return array(); }
    add_filter('usp_content_patterns', 'usp_content_patterns'); 

    I hope this helps, let me know if I can provide any further infos.

    Thread Starter packsdotxxx

    (@packsdotxxx)

    Thank you very much for your answer, this works for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sending the post removes target=”_blank”’ is closed to new replies.