• Our posts are not getting the automatically generated <p> tags after the user hits enter.
    The person responsible for maintaining the WP portion of our site has to manually add the <p> tags in the html editor. She is by no stretch of the imagination comfortable with coding, so this is a step we need to remove from her workflow.

    When we do not manually add the <p> tags, our text comes out as raw text, surrounded by quotes in the markup.
    Here’s an example:

    <div itemprop=”articleBody”>
    “…some text here that I wish was in stinkin’ p tags!…”
    </div>

    It’s worth mentioning that this is happening with the TinyMCE plugin activated, as well as deactivated. In TinyMCE, as part of my troubleshooting, I did change forced_root_block to forced_root_block : ‘p’, with no change in behavior. Because of this, I’m confident this is an issue with our WordPress configuration, and not with the TinyMCE plugin.

    I’ve searched high and low via Google for a solution to this.

    -I’ve looked at our loop to see if we are calling get_the_post() instead of just the_post()…
    -I’ve checked formatting.php to make sure wpautop is set to true…
    -I’ve looked into adding filters to the_content()…..

    No dice on anything thus far. Really frustrating.
    Can you guys please help me out??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can you replicate the problem using the default Twenty Fourteen theme with all plugins deactivated?

    Why are you using an old copy of WordPress? Were you aware that your site is currently running a very real risk of being hacked? You need to upgrade WordPress asap.

    Thread Starter eloist

    (@eloist)

    Well, we have successfully gotten <p> tags to work using CKeditor.

    The issue for us is that we have a custom WP install implemented into our site. We are bypassing the loop and doing a bunch of stuff with hand written functions in our site controllers.

    To make a long story short, it appears we will be able to move forward using CKeditor.

    I am going to look into updating our WP version.
    I’m going to do this on some of our virtual test machines, and if all is well, i will implement to the live site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘tags missing on posts, resulting in raw text in our markup’ is closed to new replies.