• Hi guys,

    I’ve been trying all day yesterday trying to copy a template’s customposttype for an additional post type, so to speak. I managed to go as far as creating the menu in the admin ui by editing functions.php and customposttypes.php.

    I copied the coding structure exactly and also managed to have the meta boxes appear in the editor screen. Thus far I was pretty happy with the progress, since I am a completely hopeless with codes and totally new to WP.

    The only snag is, I’m not getting anything that is keyed into the meta_boxes to display in the post/draft. Zilch, nada. I’m confused because I’ve copied the coding line for line (I want the new post type to follow the layout of the original, at least for a start so i know it’s working), I figured it should at least output something.

Viewing 1 replies (of 1 total)
  • Not quite clear on where you are looking for the data to display. If it shows up on the Edit screen, but not when you view the post, edit a page of the working type and see if it uses a custom template.

    You might also take a look at the Custom Post Type UI plugin. It makes it a lot easier to add custom post types and taxonomies without any coding.

Viewing 1 replies (of 1 total)

The topic ‘Meta Box displays’ is closed to new replies.