Editor value in a custom theme

So I’m making a custom theme, and I need access to the inputed editor value. I know I can access this in my post loop by calling the_content() generally, but I’m not sure if this is the correct way of moving forward, and I’m not even totally sure that would work as the_content() doesn’t seem to just echo a string out, which is more in line of what I need.

For a quick idea of what I’m doing, I have a custom meta box that’s generating new meta data that I’m pulling with a get_post_meta() call to populate a list. Under this list, I want a paragraph to be filled from the editor value from the post. Am I better off creating a new custom meta box for this paragraph, or is there an easy way to leverage the editor to accomplish this?

Thanks in advance for any advice. I’m really new to WordPress development, and I’m struggling to find any solutions to this through my searches.

Read more here:: Editor value in a custom theme

Leave a Reply

Your email address will not be published. Required fields are marked *