Subscription to UPDATED posts or pages

  • Unknown's avatar

    Hello,

    Is there anyway I can get an email to my subscribers when a post is CHANGED. I’m using Jetpack Newletter to send out new post emails, but I’d like to send something for changed posts.

    I’m happy to use a plugin if necessary, or edit some PHP if that’s required.

    Thank you,

    John

  • Hey John,

    It is not possible to send out a new email for a changed or updated post. In this case, I would recommend creating a duplicate post with the desired changes. When the duplicate post is published, it will send a new email. You can even backdate the post to coincide with the original post date.

    Hope this helps!

  • Unknown's avatar

    Hi, thanks for the swift response. I’m not sure your suggestion really works for me.

    My use case is that I have a sticky post that is named “Latest Residents Update”. This contains a link to a council website with a weekly newsletter. However, the council changes part of the url every week with a different GUID – so I have to edit the sticky post with the new url and there’s no way to predict what it will be.

    So when I edit the sticky post – it would be so nice to let the subscribers know it’s been updated.

    Oh well…

    If you had any other thoughts, that would be welcome. I’m not necessarily wedded to Jetpack.

    Thank you,

    John

  • Hey John,

    While I am not familiar with any other service that might have another solution, I would try something like this. Each week, when the URL is updated, create a brand new post and use a template where the only thing you need to change is the link, then make the new post sticky. Depending on your site settings, you could make these posts a specific category and only display them there. If you have other posts on your site, you can exclude this category so that users don’t ever see the past posts with the outdated URL’s. This would be a little different from updating the post itself each week but should provide a way to keep your subscribers updated without too much hassle.

    Let me know if this makes sense, or might work as a solution.

  • Unknown's avatar

    Makes perfect sense – I think I’ll be able to adapt to using a Category filter. I haven’t experimented yet but do you know if you can negate a category such as ^Current or similar syntax i.e show everything that is not category=current ? I’m using the standard Latest Posts block on my Home page.

    Thank you

    John

  • Hi John,

    Unfortunately there isn’t a setting for that within the Latest Posts block, but if you’re using our custom version, the Blog Posts block, then that does include a taxonomy filter to exclude a certain tag or category.

    Potentially the other option would be to simply ensure that all other categories are explicitly selected in your Latest Posts block setting; though this would then require that you make sure to assign at least one category to every post – you can do that for future new posts by setting your preferred default category if you haven’t already done so.

  • Unknown's avatar

    Hello again!

    The Blog Posts Block looks exactly what I’m looking for. Using WP V6.4.2, the Editing Toolkit plugin installs and activates without error, but when I go to edit a page or post, I get a critical crash…

    Fatal error: Uncaught Error: Class “Domain_Mapping” not found in /Users/johnadams/Local Sites/all-saints-parish-council/app/public/wp-content/plugins/full-site-editing/wpcom-domain-upsell-callout/class-wpcom-domain-upsell-callout.php on line 152

    Note that this is my dev site which I run as localhost using the tool “Local”.

    Just guessing that by the Domain_Mapping not found, I wonder if it’s because its a Local site rather than a live site. Obviously I just didn’t want to drop this to the live site if I’ll hit problems. All other features and blocks seem to work correctly in Local.

    If this is the case, might the plugin or block be fixed to run under Local. I know it’s Beta.

    What do you think?

    Thank you for your ideas and support.

    John

  • We’re less able to help with issues on a locally hosted site since these forums are primarily for sites we host in general! However looking at the error I’d say it’s coming up precisely because the site is local; the plugin typically anticipates an active Jetpack connection. The plugin FAQ does note that it’s primarily designed for plugin-enabled sites here on WordPress.com as well, so I suspect there’s a chance it may not play nicely on a self-hosted production site.

  • Unknown's avatar

    Again – thank you for your comments.

    Sadly, I loaded the plugin to my live site (which has a custom domain) and whilst the plugin activated without error, it still crashes at the same place whenever I try to edit any page or post.

    Luckily, deactivating the plugin allows normal dashboard operations.

    I’ll post the error again – but I think I’ll just have to wait it out until the plugin is stable.

    WordPress version 6.4.1
    Active theme: Twenty Sixteen (version 3.1)
    Current plugin: WordPress.com Editing Toolkit (version 4.6407)
    PHP version 7.4.33

    Error Details
    =============
    An error of type E_ERROR was caused in line 152 of the file /home/allsaint/public_html/wp-content/plugins/full-site-editing/wpcom-domain-upsell-callout/class-wpcom-domain-upsell-callout.php. Error message: Uncaught Error: Class ‘Domain_Mapping’ not found in /home/allsaint/public_html/wp-content/plugins/full-site-editing/wpcom-domain-upsell-callout/class-wpcom-domain-upsell-callout.php:152
    Stack trace:
    #0 /home/allsaint/public_html/wp-content/plugins/full-site-editing/wpcom-domain-upsell-callout/class-wpcom-domain-upsell-callout.php(86): A8CFSEWPCOM_Domain_Upsell_Callout->blog_has_custom_domain(224684169)
    #1 /home/allsaint/public_html/wp-content/plugins/full-site-editing/wpcom-domain-upsell-callout/class-wpcom-domain-upsell-callout.php(45): A8CFSEWPCOM_Domain_Upsell_Callout->should_not_show_callout()
    #2 /home/allsaint/public_html/wp-includes/class-wp-hook.php(324): A8CFSEWPCOM_Domain_Upsell_Callout->enqueue_script_and_style(”)
    #3 /home/allsaint/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #4 /home/allsaint/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /home/allsaint/public_html/wp-admin/edit-form-blocks.php(272): do_action(‘enqueue_block_e…’

  • Unknown's avatar

    Hi there, @devonsmarty!

    Sadly, I loaded the plugin to my live site (which has a custom domain) and whilst the plugin activated without error, it still crashes at the same place whenever I try to edit any page or post.

    Luckily, deactivating the plugin allows normal dashboard operations.

    I’ll post the error again – but I think I’ll just have to wait it out until the plugin is stable.

    As the plugin description says, the plugin is experimental and only designed to work on the WordPress.com environment, so using it on self-hosted WordPress instances could cause issues.


    (if you can’t see the screenshot, click here)

  • Unknown's avatar

    Yep – I understand both of your points.

    So thank you and others for your efforts.

  • You’re welcome. Feel free to reach out again if we can help with anything else.

  • Unknown's avatar

    Hope you don’t mind me adding this here, but might webhooks work in this case?

  • Unknown's avatar

    Hi justjennifer, thank you for that suggestion – something I’m not familiar with (yet). I’m looking after a self-hosted, plug-in enabled wp.com site so am learning what can/can’t be done easily in this environment. What I thought was “obvious” clearly has some challenges, especially if I don’t want to get in to too much coding. I’ll take your suggestion and investigate – first glance looks promising. Thanks again.

    John

  • The topic ‘Subscription to UPDATED posts or pages’ is closed to new replies.