• Resolved drosberg

    (@drosberg)


    I’m trying the Better Notifications for WP plugin before purchasing and cannot get it to send an email alert to the author of a custom post after the post has been created. I’ve setup the email notification and successfully sent a [test email] but I can’t get the plugin to send an email notification.

    I looked at this plugin a couple of years ago and experienced the same issue and opted for another product which does work fine, but lacks the features of the Better Notifications for WP plugin.

    I would like to get this figured out and I’m wondering if anyone else has experienced a similar situation? Sending a notification is what the plugin does, but I can’t get it to work?
    Thanks in advance.
    Don

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi Don,
    Thanks for your message.

    Can you post a link to a screenshot showing the notification so I can better assist? I’d love to get this working for you.

    Thread Starter drosberg

    (@drosberg)

    Hi thanks for the follow-up. Here’s the screenshot

    https://prnt.sc/DSfkZ4n8hRxA

    I can’t see what the problem might be as the notification works when I send the test to me. All I want it to do is send this notification to the author when they publish a new classified listing custom post type.

    Thanks for your help and as mentioned I’d really like to use the plugin as yours has more features and flexibility than the one I’m currently using.

    Don

    Plugin Author bnfw

    (@voltronik)

    Hi @drosberg,
    Thanks.

    Looking at the screenshot, it appears your notification is set to Disabled in the top right. Can you enable it and re-test?
    If it still doesn’t work, can you tell me how your custom post type is being added? Is it via the theme or a plugin, and if so, which one?

    Thread Starter drosberg

    (@drosberg)

    Hi there, I spent some additional time testing and have figured out the problem has something with the way custom posts are added through the front end form for the Classified Listing (a classified listing is a custom post) plugin that I’m using, as well as the front end form that I created for the other custom post that I created.

    I’ve managed to track-down this article which suggests adding a code snippet to the theme function file:
    https://betternotificationsforwp.com/documentation/compatibility/support-themes-front-end-forms/

    I’m using the Astra theme (Astra child) but don’t quite know where to add the code and whether it needs to be modified?

    So we’ve made progress? At least I know your plugin is working correctly (from the WP backend) but just need to figure out how to trigger the plugin to send a notification when a custom post is entered from the Classified listing plugin front AND ACF Front end that I’ve created.

    Thanks
    Don

    Plugin Author bnfw

    (@voltronik)

    Hi @drosberg,
    Ok, great.

    You’ll need to use this code snippet to test to see if you can get it working with your theme, replacing the word theme_name with the slug of your theme. The slug is the folder name of the theme. I’m not sure if you need to use the parent theme slug or the child theme slug so it’s worth testing both to see if it works.

    function bnfw_insert_post_hook_for_theme( $themes ) {
    $themes[] = 'theme_name';
    return $themes;
    }
    add_filter( 'bnfw_insert_post_themes', 'bnfw_insert_post_hook_for_theme' );

    If the above doesn’t work, you may need to request support from the theme authors as they may have a form hook you can use instead.

    Details of adding support for ACF front-end forms can be found here: https://betternotificationsforwp.com/documentation/how-to-trigger-a-notification-from-an-acf-front-end-form/
    This is slightly more complicated so you may need to ask a developer to help you.

    Let me know if this helps.

    Plugin Author bnfw

    (@voltronik)

    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

    Thread Starter drosberg

    (@drosberg)

    Well still lots of activity behind-the-scenes. I’m using the Astra theme and have tried adding the snippet to both the main and child themes and still cannot trigger an email using the front end form.

    Not sure where to go from here but will try sending a note to the Astra folks?

    thanks

    don

    Plugin Author bnfw

    (@voltronik)

    Hi @drosberg,
    Yes, please get in touch with them and let me know how you get on.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Custom Post Notifications Not Working’ is closed to new replies.