In the current state, the report button/link for adverts is not displayed, even if “Show the Report button not just on single posts, but on all blog pages” is active.
What do I have to insert to get the link manually in the template?
Hi, For some strange reason they don’t run the ‘the_content’ filter on their content. You can add a filter in PHP code. You can add this in functions.php of your theme, preferably a child theme, or to your own plugin.
Thank you very much! Both are quite good and help me. But the details are not perfect.
With the last code snippet I cannot (yet) prevent the report hint from appearing on the page with the shortcode for the display overview.
If I set the plugin to “nothing”, the snipet does not work. If it is set to “Link”, the insertion on the “advert” page works. In addition, the link is also set on the “page”.
It would be ideal to leave the setting in the plugin options off and only set it to “advert” via Snipet. But I don’t know how to do that on my own. Conversely, querying “page” and then removing the link did not work with my on-board resources:
Hi, The ‘remove_filter’ should be for the ‘the_content’ filter, as that is used in the plugin. Using add_filter should be done for the ‘adverts_the_content’ filter.
I am not sure if I want to create an option for post types, I’m not sure how feasable it is and if it would work good. I do understand having a settings page is easier than using custom code. By the way, the last snippet of code is all you need.
Your plugin is currently unique. There is no other “reporting” tool! When I play through the possibilities of what can be done with it… I would love to support it!
I’m not a programmer, but a critical user of plugins. And a good beta tester 😉 For example, if you see the options of “Admin Menu Post List” (I still have the plugin in use):