Support

Account

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?

  • Hi @acf-support

    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…