You got the wrong id
for your get_post_meta()
. As you define the input-name by the id of the field in your metabox, it has to be portfolio_description
.
<?php echo get_post_meta($post->ID, "portfolio_description", true); ?>
Should do the trick.
If you are not sure which name of the post_meta
you need to call, try inspecting the input
field in your developer tools in your browser, and check the name of the input
.