janein...
die custom Field Funktion hab ich schon entdeckt, doch ich will wie im Bild gezeigt
nur eine Eingabe machen also eine URL der wert soll schon festgelegt und nicht veränderbar sein...
die Textbox soll unter der Contenteingabe sein, was ich schon bereits getan habe
<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
<h3><?php _e('Post') ?></h3>
<?php the_editor($post->post_content); ?>
<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?>
<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
<?php wp_nonce_field( 'getpermalink', 'getpermalinknonce', false ); ?>
<?php wp_nonce_field( 'samplepermalink', 'samplepermalinknonce', false ); ?>
<p></p>
============================== Hier =====================
<form>
Video url:
<input type="text" name="video_url" size="50" tabindex="4" value="" />
</form>
Alles anzeigen
Nun will ich im Textfeld was eingeben und will die Eingabe dann mit
[COLOR=#000000][COLOR=#0000cc]get_post_meta[/COLOR][COLOR=#006600]([/COLOR][COLOR=#0000cc]$id[/COLOR][COLOR=#006600], [/COLOR][COLOR=#cc0000]'wert'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000cc]true[/COLOR][COLOR=#006600]);[/COLOR][/COLOR] ausgeben!
MFG
Nobert