Hi,
I have a irritating problem π
The thing is that I’ve created a metabox.
The meta box contains different fields which save the data to the database like it should.
However I can’t get them out of the database.
This is what I do:
<?php
$custom_text = get_post_meta($post->ID, 'custom_text', true); echo $custom_text;
?>
The database holds a field called custom_text and is in the wp_postmeta.
One additional note: I have changed the prefix of the database.
I don’t think it will matter (because it never did)
Can someone please give me some pointers on common mistakes.
or maybe a sollution.
M.