An open API service indexing awesome lists of open source software.

https://github.com/volkansah/warning-function-for-wordpress

It adds a content warning to posts that are in specific categories. The warning informs readers that the content may not be suitable for children or teenagers under 16 years old, and it asks them to confirm if they want to continue reading.
https://github.com/volkansah/warning-function-for-wordpress

ai ai-created chatgpt function gpt warning wordpress wordpress-plugin

Last synced: 9 months ago
JSON representation

It adds a content warning to posts that are in specific categories. The warning informs readers that the content may not be suitable for children or teenagers under 16 years old, and it asks them to confirm if they want to continue reading.

Awesome Lists containing this project

README

          

# Content Warning Plugin for WordPress
It adds a content warning to posts that are in specific categories. The warning informs readers with your Text and it asks them to confirm if they want to continue reading.

## How to use

1. Download or clone this repository.
2. Upload the `core.php` to the `/wp-content/plugins/yourpluginame` directory of your WordPress installation.
3. Activate the plugin through the 'Plugins' menu in WordPress.
4. To add the warning, simply add your post to the 'example-category' category.

## Customize

You can change the 'example-category' in the code to the category you want to show the warning for. You can also modify the warning message to suit your needs.

Credits:
- [VolkanSah](https://github.com/volkansah)