https://github.com/hugopoi/wp-notification-store
Notification Store Addon for Wordpress Notification plugin by Kubitomakita
https://github.com/hugopoi/wp-notification-store
notifications-plugin wordpress-plugin
Last synced: over 1 year ago
JSON representation
Notification Store Addon for Wordpress Notification plugin by Kubitomakita
- Host: GitHub
- URL: https://github.com/hugopoi/wp-notification-store
- Owner: HugoPoi
- Created: 2017-07-06T16:54:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T17:02:01.000Z (almost 9 years ago)
- Last Synced: 2025-01-24T15:14:15.031Z (over 1 year ago)
- Topics: notifications-plugin, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notification : Store
This is public repository for Notification : Store - the WordPress plugin.
This plugin allows to store notification in database sent by Notification plugin.
## Features
* Store notification with custom post type `notification_stored`
* Can store an alternative message in custom post content
* Option to disable sending notification and only store them
* Use `WP_Query` to display notifications
* Mark them read with set `post_status` pending -> publish
## Requirements
* THIS PLUGIN REQUIRE [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/)
## Usage
```
'notification_stored',
'post_status' => array('pending', 'publish'), // For displaying unread
and read notifications
'author' => get_current_user_id(),
'posts_per_page' => -1
)); ?>
have_posts()): $notifications->the_post(); ?>
```
---
* [Notification plugin](https://github.com/Kubitomakita/Notification)
* [WordPress readme](https://github.com/HugoPoi/wp-notification-store/blob/master/readme.txt)