Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
GaryMemberThank you for your help.
I started re-editing the entrie tutorial and what you have written, managed to better understand the whole.
<?php echo get_post_meta($post->ID, 'demo_text', true); echo get_post_meta($post->ID, 'demo_select', true); echo get_post_meta($post->ID, 'demo_colorpicker', true); ?>I remembered that I put into this code, but it can not be accidentally. Now it’s work!
Thank you so much!!
GaryMemberHi Steve!
Please help me.
I removed the default editor and created my metabox (The demo metabox, what you showed). Now I want to add the editor field, but I can’t find where to insert it. I apologise for my clumsy, but I really don’t see, where to put this into:
<?php piklist('field', array( 'type' => 'editor' ,'scope' => 'post' ,'field' => 'field_name' ,'label' => __('Example Field') ,'description' => __('This is a description of the field.') ,'value' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.' ,'options' => array ( 'wpautop' => true ,'media_buttons' => true ,'tabindex' => '' ,'editor_css' => '' ,'editor_class' => '' ,'teeny' => false ,'dfw' => false ,'tinymce' => true ,'quicktags' => true ) ))?>Thank you for your help!
Best Regards,
Gary -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)