I’m experiencing a similar issue. “New Post Published” and “New ‘Dealership’ Published” (custom post type) are not firing notifications.
But the “New User Registration – For User” and “New User – Post-registration Email” still work and send emails.
Hi @colewebdev and @petr0n,
Thanks for your message.
I haven’t come across this.
Are you posting via the WP Admin or via a front-end form?
Thread Starter
Josiah
(@colewebdev)
Just a normal post, via the WP admin. I even created a new, New Post notification and it was also not sent.
Hi @colewebdev,
Was the plugin up-to-date prior to updating to WordPress 5.6 or did you update both at the same time? Trying to work out if it’s a WP or BNFW issue.
Thread Starter
Josiah
(@colewebdev)
I updated the plugin, then updated the core. I’m sure of this as I documented my steps as part of our normal WP maintenance procedure.
Ok @colewebdev , thanks. I’ll do some investigation and see what I can find out.
Hi @colewebdev,
I’ve just tested and am receiving the new post notification when using the Classic Editor or when using the Block Editor without issue.
I’m using the latest version of WordPress, BNFW, and not using Gutenberg whilst posting from the WP Admin.
Do you have an email log installed to see if notifications aren’t being sent but not received?
It may also be worth making your way through this document to see if there’s a plugin conflict somewhere: https://betternotificationsforwp.com/how-can-i-receive-the-best-support/
Thread Starter
Josiah
(@colewebdev)
Not using Gutenberg to compose posts.
We use Email Log (https://ww.wp.xz.cn/plugins/email-log/) to monitor outgoing emails. This has revealed that password resent notifications are being sent, but not new post notifications.
I’ve been through your troubleshooting page here: https://betternotificationsforwp.com/how-can-i-receive-the-best-support/
I cloned the site, disabled plugins, changed the theme but did not have success which is why I posted here. I guess I can circle back and try again.
Thread Starter
Josiah
(@colewebdev)
Not sure if it matters, but the site isn’t “public”. Users are required to login to view the website. Not sure if a recent WP change effected now new post notifications are handled for private sites.
Hi @colewebdev,
Hmm. I suppose it’s possible.
How are you making the site private?
Thread Starter
Josiah
(@colewebdev)
I’m using a short PHP snippet:
<?php
if ( ( is_single() || is_front_page() || is_page() || is_archive )
&& !is_page('login') && !is_user_logged_in()){
auth_redirect();
}
?>
Which is then inserted into the “header” using the Code Snippets Extended plugin: https://ww.wp.xz.cn/plugins/code-snippets-extended/
Hi @colewebdev,
Ok, thanks.
If you remove this code, does BNFW work as expected?
Thread Starter
Josiah
(@colewebdev)
I circled back around and isolated the issue to the latest version of the Divi theme (4.7.7). With a default theme activated, new post notifications work.
With Divi active, I tried the classic editor, Gutenberg and the Divi editor but none triggered the notification.
I will post this to the Divi support forum. This website has been running the Divi theme for over 2 years, so it’s related to a recent update.
Hi @colewebdev,
Thanks for the update.
Hope the Divi people are able to help you.
Thread Starter
Josiah
(@colewebdev)
They weren’t able to help me. Basically they have a list of bugs related to the latest WordPress version and this one isn’t even on it yet. Any idea why the post process changed? I’m not even using the Divi editor to compose posts.