Releases: kimjac/ai_content_restrictor
v1.3
Changes and Additions:
User-Defined Source List:
Instead of a textarea, sources are shown as individual input fields inside a list (ul). You can add new URLs or remove existing ones dynamically.
JavaScript is used to allow adding/removing sources dynamically without page reloads.
Excluded Tags Field:
The excluded tags field is a simple comma-separated input where admins can enter tags they want to block. The plugin automatically processes this string and excludes the defined tags from the crawled content.
Saving the User-Defined Sources:
We now handle the user-defined sources as a list of inputs (each URL being a separate input) and save them as a single string, using implode() and explode() to handle this.
How to Use:
User-Defined Sources:
Go to the admin settings and add URLs for sources from which content should be crawled. Each URL can be added or removed individually.
Excluded Tags:
Admins can define a comma-separated list of tags they want to block from being published on the blog.
This solution enhances flexibility by allowing better management of URLs and tags and makes it easier for admins to modify their settings without dealing with text areas directly.