Danke Meathor, meinst Du wahrscheinlich $imgright Variable, da die $postid Variable wird bereits definiert. Ich komme trotzdem nicht weiter.
PHP
function my_custum_field() {
global $wp_query;
$postid = $wp_query->post->ID;
$my_imgright = get_post_meta($postid, 'imgright', true);
echo $my_imgright; // Inhalt wird ausgegeben :)
}
echo $my_imgright; // Keine Inhalt :(
global $my_imgright; definition habe ich auch probiert.
Vielleicht noch eine idee? :confused:
BG