Support

Account

Home Forums General Issues Append a Custom Field to the_post

Solved

Append a Custom Field to the_post

  • I’m building a method for content admins to add columns of content to posts and/or pages. For a variety of reasons we’re not using shortcodes for this or other layout plugins like Visual Composer. Enter ACF. I want to do this for up to five columns, using a number of wysiwyg editors based on how many columns are chosen. I’ve got that part figured out. For

    However, this is for an existing site with tons of content already. For the sake of future proofing and compatibility I don’t want to replace the content stored in ‘post_content’ table with what’s stored in these fields. So I’m looking for guidance here.

    Is there a way to have the wysiwyg fields to display content from ‘post_content’ table and be able to write to it as well?

    • Elliot

    • September 18, 2013 at 12:33 pm

    Hi @digisavvy

    By default, no. That said, you can always customize with code.

    Take a look at the ‘acf/update_value’ filter. You should be able to hook in and then update the post’s content value!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.