How to add rel=”noopener follow” in all the links of a specific custom post type?

Hello guys, is it possible to change the rel tag of a specific custom post type? Is there any snippet that can do this?

The code that is showing in my custom post type:

<a href=”https://” rel=”noopener” target=”_blank”>title</a>

I need to show like this:

<a href=”https://” rel=”noopener follow” target=”_blank”>title</a>

Than you in advance 🙂


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer