Discussed in today’s lesson will focus on the Redaction plugin, which is designed to hide the sponsored links from the website.
This plugin is needed for those who want to be the resource was not littered with references to the type Powered by photolessons.org 🙂
For this solution, and released a great plugin. With it you can configure what links to keep and which to remove.
For example, you have a site worth a paid module, which includes a link to the resource where it was made. But here is the design of your site is not suitable, and for website promotion, too 😉
Set the Redaction in the plugin settings and set the following code:
But this code removes the link to the site if it is located between the tags
What to do in other cases?
Write code for the class “credit”:
The solution for those who have not obtained with the first embodiment.
There is also another version of the code
A more detailed analysis of the Redaction on the forum of the manufacturer of the plugin.
[email-download download_id=”217421” contact_form_id=”52471”]