Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter writegnj

    (@writegnj)

    Well I just found that [post_status = publish] works ok when you are Not Sign in but when user sign in as author, it’s pulling out private posts from database and displays it on the page.. any solutions?

    Thread Starter writegnj

    (@writegnj)

    lol
    removing below code

    if(is_user_logged_in()):
    $args[‘post_status’] = array(‘publish’,’private’);
    endif;

    in CatList.php line 73 solved the problem.

    Plugin Author Fernando Briano

    (@fernandobt)

    Have to check that code with the new post_status parameter. Thanks for the heads up!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[post_status = publish] still shows private post’ is closed to new replies.