Support » Plugins and Hacks » [Plugin: uCan Post] Add expiry date and archive category to a post form?

  • I want my authors to create posts without having to access the dashboard, so I activated the “uCan Post” plugin. Great plugin and it does ALMOST everything I want it to do, but… I also need to allow my authors to select a date when the post expires and, as Administrator, I would like to set the category that the expired post will be moved to (i.e. my hidden EXPIRED category).

    Does anyone know of an additional plugin or code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 70074512


    best plugin so far is: post expirator
    unfortunately, I couldn’t add it to the submissions form…
    You can view my ticket here:



    For anyone interested and needs a quick solution, here’s a workaround I found if you are using UCAN Post plugin (you can see it in action here:, create a new post and click add expiry):

    1- Go to the directory: /ucan-post/views
    2- Edit the file: UCAN-Publish.php

    The file content should be like this:

      <strong style="font-size:18px;color:blue;"> <?php echo __('Congratulations, your post was submitted successfully!', 'ucan-post'); ?>
      if($this->ucan_options['uCan_Moderate_Posts']){ ?>
        <p> <strong> <?php echo __('Your post is awaiting moderation and should be available soon.', 'ucan-post'); ?> </strong> </p>
    <?php }
        $maybe_view_new_post = '<a href="'.$new_post_permalink.'">'.__('View My Submission', 'ucan-post').'</a>';
    	$maybe_edit_new_post = '<a href="'.get_edit_post_link($new_post_id).'">Add Expiry Date</a>';?>
      <?php echo $maybe_view_new_post;
      echo '  |  ';
       echo $maybe_edit_new_post; ?>

    This will lead to the user going to the edit post page where the meta box is available, view how it looks here:, (create a new post and click add expiry)

    (You can Select all contents of the file and replace them with the above code 😉 )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: uCan Post] Add expiry date and archive category to a post form?’ is closed to new replies.