Home Forums General Issues SHow comment field in body class


SHow comment field in body class

    • pjeaje

    • July 12, 2019 at 1:08 pm

    I have a true/false attached to my comment form. How can I add the result of this true/false in the post’s body class?

    • James

    • July 14, 2019 at 1:43 am

    Hi @pjeaje

    Your question is not quite clear.

    Are you looking at adding the value to the main content?

    If that’s the case, you can hook onto the acf/save_post filter to access the submitted value and update the main post content here.

    Let me know how it goes.

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.