• Dear All,

    thank you for you Events plugin, I really like it. However from Events Manager ver. 7.1.3 onwards there is a problem with scheduled posts (blog posts) with a future publishing date. If the Events Manager Plugin is installed in a version = > Ver. 7.1.3 regular scheduled posts with a publish date set to the future get published, but link to the blog page instead of the detail view of the post. Scheduling blog posts with a publish date in the future with Events Manager up to Ver. 7.1.2 is no problem. The problem occurs also on fresh wp installations with e.g. the twenty twenty five theme. Create a new (blog) post set the publish date a few minutes in the future. The wp scheduler publishes the post at the given time but the link for that blog post points to the blog (e.g. overview of all posts so far) but not to the corresponding detail view, which makes the actual content of the post inaccessible for page visitors. I’ve tried to change a view of the settings of the Events manager plugin e.g. treat events as pages not posts, but that didn’t solve the issue.

    An editor has to edit the corresponding post and save it again after it was published via the wp scheduler, so that the correct link is generated. This is problematic if editors schedule a large amount of blog posts for a future release (e.g. job ads, press releases etc.).

    Cheers,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter designgalaxie

    (@designgalaxie)

    @joneiseman Thanks for the link. Changing the code in

    Change line 49 of wp-content/plugins/events-manager/classes/em-event-post.php from this:

            $is_post_type = Archetypes::is_repeating( $post_type ) ? Archetypes::get_repeating_archetype( $post_type ) : $post_type;

    To this:

            $is_post_type = (Archetypes::is_repeating( $post_type ) ? Archetypes::get_repeating_archetype( $post_type ) : ($post_type == "event")) ? $post_type : false;

    Solved the issue. However I don’t use WPML so it seems more of a general problem. Wouldn’t it be useful to include the fix in em-event-post.php to the events manager plugin, that would be great.

    Cheers,

    I am having the same issue. The permalink of a schedule post is erased when it is posted.

    After lots of hours of testing, I have determined the issue arose in EM 7.1 with the introduction of Archetypes as I do not have the issue with 7.0.5.

    The fix above worked for me. This needs to be included in the next update.

    I am having the same issue! Took me a bit to debug which plugin was causing the issue, but if Events Manager is disabled, scheduled posts get the correct link once they are published. With Events Manager enabled, the single post link is to the site’s homepage when scheduled posts go live. This link shows in the admin list, and the blog landing page.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with scheduled posts’ is closed to new replies.