For the last year I’ve been testing various approaches with the Post Creation addon - with varying degrees of success. I build a lot of sites for communities and giving them a simple, bullet proof method of creating posts is my ultimate goal.
I came a cross another little quirk today that I cannot explain…
The notification email has a link to the post the user has just created. The code looks like this:
<a href="https://website.com/?page_id={post_id}">{News Story Headline:1}</a>
Unfortunately, when you hover over the link in the notification, it renders as this:
https://website.com/?page_id=
Clicking on the link takes you to the home page.
I don’t understand why this isn’t working? Can anyone help explain the problem?
The notification is most likely being sent before the post is created by the background feed processor. Try disabling background feed processing using the following filter in the theme functions.php file or with a code snippets plugin.
Thanks. This sounds very promising. It might address a couple of other niggling issues that sometimes happen when creating a post - especially concerning image uploads.
Sometimes, when you create a post, and upload a featured image, the connection between the two isn’t fully “established”. If you go and share the post of Facebook, for example, the image won’t appear. You have to go into the admin and resave the post. Then share it on Facebook. Only then does the image appear.