Home › Forums › General Issues › How to trick plugins to think fields are the_content? › Reply To: How to trick plugins to think fields are the_content?
I foolishly work on my live website, haven’t figured out how to use MAMP for a local environment. What you’re seeing now is the function with this removed:
$content .= get_sub_field(‘sub_field_3’);
with only the first $content line, it seems to work okay.
I’m now trying to research ways to implement this type of function within the single-listing.php (the custom post template).
That way, I can both create a layout for these posts and also have the content situated within the the_content(), though it seems very difficult to achieve…
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.