Skip to main content
added 13 characters in body; edited tags
Source Link
Johannes Pille
  • 11.1k
  • 3
  • 42
  • 53

I would like to add a custom write panel to a custom post type. I'm looking at the the code here:

http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/

I can get the custom write panel to appear on a standard post edit page but not for my registered custom post type.

add_meta_box( 'int_parent_meta', ucfirst( $key ) . 'Options', 'display_meta_box', 'name-of-custom-post-type', 'normal', 'high' );

add_meta_box( 'int_parent_meta', ucfirst( $key ) . 'Options',
    'display_meta_box', 'name-of-custom-post-type', 'normal', 'high' );

If I replace 'name-of-custom-post-type' with 'post' in the above line, the panel appears on the post edit screen.

Anyone know what I'm missing here? Wordpress version is 3.0.1

I would like to add a custom write panel to a custom post type. I'm looking at the the code here:

http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/

I can get the custom write panel to appear on a standard post edit page but not for my registered custom post type.

add_meta_box( 'int_parent_meta', ucfirst( $key ) . 'Options', 'display_meta_box', 'name-of-custom-post-type', 'normal', 'high' );

If I replace 'name-of-custom-post-type' with 'post' in the above line, the panel appears on the post edit screen.

Anyone know what I'm missing here? Wordpress version is 3.0.1

I would like to add a custom write panel to a custom post type. I'm looking at the the code here:

http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/

I can get the custom write panel to appear on a standard post edit page but not for my registered custom post type.

add_meta_box( 'int_parent_meta', ucfirst( $key ) . 'Options',
    'display_meta_box', 'name-of-custom-post-type', 'normal', 'high' );

If I replace 'name-of-custom-post-type' with 'post' in the above line, the panel appears on the post edit screen.

Anyone know what I'm missing here? Wordpress version is 3.0.1

added 12 characters in body
Source Link
codecowboy
  • 1.8k
  • 6
  • 23
  • 43

I would like to add a custom write panel to a custom post type. I'm looking at the the code here:

http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/

I can get the custom write panel to appear on a standard post edit page but not for my registered custom post type.

add_meta_box( 'int_parent_meta', ucfirst( $key ) . 'Options', 'display_meta_box', 'name-of-custom-post-type', 'normal', 'high' );

If I replace 'name-of-custom-post-type' with 'post' in the above line, the panel appears on the post edit screen.

Anyone know what I'm missing here? Wordpress version is 3.0.1

I would like to add a custom write panel to a custom post type. I'm looking at the the code here:

http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/

I can get the custom write panel to appear on a standard post edit page but not for my registered custom post type.

add_meta_box( 'int_parent_meta', ucfirst( $key ) . 'Options', 'display_meta_box', 'name-of-custom-post-type', 'normal', 'high' );

If I replace 'name-of-custom-post-type' in the above line, the panel appears on the post edit screen.

Anyone know what I'm missing here? Wordpress version is 3.0.1

I would like to add a custom write panel to a custom post type. I'm looking at the the code here:

http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/

I can get the custom write panel to appear on a standard post edit page but not for my registered custom post type.

add_meta_box( 'int_parent_meta', ucfirst( $key ) . 'Options', 'display_meta_box', 'name-of-custom-post-type', 'normal', 'high' );

If I replace 'name-of-custom-post-type' with 'post' in the above line, the panel appears on the post edit screen.

Anyone know what I'm missing here? Wordpress version is 3.0.1

Source Link
codecowboy
  • 1.8k
  • 6
  • 23
  • 43

How can I display a drop-down select of Post Names

I would like to add a custom write panel to a custom post type. I'm looking at the the code here:

http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/

I can get the custom write panel to appear on a standard post edit page but not for my registered custom post type.

add_meta_box( 'int_parent_meta', ucfirst( $key ) . 'Options', 'display_meta_box', 'name-of-custom-post-type', 'normal', 'high' );

If I replace 'name-of-custom-post-type' in the above line, the panel appears on the post edit screen.

Anyone know what I'm missing here? Wordpress version is 3.0.1