How do you modify the ‘post_parent’ of a custom post type?

Hi @Manny Fleurmond:

You can add the following HTML to a post metabox you’ll have an edit field that lets you edit the raw post_parent ID. Maybe with this knowledge you can build what you need?

<input type="text" id="parent_id" name="parent_id" 
       value="<?php echo $post->post_parent; ?>" />

Leave a Comment