0

I have a custom function to make posts hierarchical by registering a post type in my functions.php like this:

register_post_type( 'post', array(
    'hierarchical' => true
) );

After uploading, the posts item from admin menu just disappears. Why is this happening?

1

found solution to add argument public => true

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.