Good morning. Hooked Metabox with additional fields to the posts on WP, the data are perfectly preserved and are in the database. But it is impossible to bring them on the page, put in this way:
<?php echo get_post_meta($post--->ID, 'mytyperem', true); ?>
Tried and true:
<?php echo get_post_meta( get_the_ID(), 'mytyperem', true); ?>
However, on the post editing page and in the database everything is saved. What could be the problem? Thanks in advance!