Answer the question
In order to leave comments, you need to log in
Where is the_content() in Wordpress?
I will try to describe the situation briefly, but in detail.
1. Have Wordpress with the GeneratePress theme.
2. Created custom post type using CPT UI.
3. A group of fields in ACF (Advanced Custom Fields) has been created for a custom record type.
4. A separate template has been created for a custom post type, it is built into the hierarchy and loads normally
. 5. In custom post types, you need to output content from a group of fields. I understand that this is what the_field function does, it works great.
Problem: I need to display a table with data of arbitrary fields to the right of the photo, and below them (photo and table) - the text of the entry. However, in the template they are not separated at all, it says
<?php
the_content(); ?>
and that's it.
That is, I need to insert fields inside the output of this function. Question: where is she?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question