D
D
Develm2015-09-28 16:20:15
WordPress
Develm, 2015-09-28 16:20:15

Notice to users on the site?

How can I implement a notification to users on the site when a material is created with a certain post type category? In the form of messages in the header, with the ability to close and not show again (remember)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valery Saidulin, 2015-09-28
@Develm

Unfortunately, 15-20 minutes of searching brought surprisingly few results. Most of these plugins are tied to email notifications (in theory, it’s quite easy to remake them, but more on that later).
https://github.com/ravinderk/WP-Realtime-Notify/bl...
This is very similar to what you need =) will work immediately. I myself ran the code diagonally and, as it seems to me, it should work - if not immediately, then after small edits.
If this file does not work out, then I think that any "Post Notifications" plugin that sends e-mails to users should be remade to work with the "Admin Notices" functions (the data on whether the user hid the last notification is stored in user_meta, for example).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question