There is a wordpress website with the Pods plugin installed - Custom Content Types and Fields for displaying user posts. I create a new type with the name test , in which I add a text field test_text and create an instance of this type from the side menu. Now I have a question: how to display instances of these types with a field on the template page
<div><?php $text = pods('test'); echo $text->field('test_text');?></div> $text object receives (see through var_dump), but the field does not display - why? I attach screenshots:
then inside the index.php file I prescribe:
<span><?php echo get_post_meta(get_the_ID(), 'test_text', true) ?></span> the span empty ..