• Hello,

    I have a site where a user comes, logs in, by logging in he/she gets acces to a tdo mini form.

    Is there a way to make posts created by the tdo mini form become Private? The idea is that the user can only see his posts created by tdo mini forms.

Viewing 1 replies (of 1 total)
  • Thread Starter openiq

    (@openiq)

    Got it,

    It’s quite nasty but it gets the job done:

    1. edit tdo-mini-forms/include/tdomf-form.php

    line 987  "post_status"    => 'publish',

    to

    line 987  "post_status"    => 'private',

    2. edit tdo-mini-forms/tdomf-form-post.php

    line 163 if(get_post_status($post_id) == 'publish') {

    to

    line 163 if(get_post_status($post_id) == 'private') {

    It would be nice to be able to change it from the admin panel though.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: TDO Mini Forms] Private Post’ is closed to new replies.