• Resolved wpress2010

    (@wpress2010)


    Making routine edits to Posts. If I use the HTML editor and do something like this:

    <h1>This is the title</h1>
    <p>This is a paragraph</p>

    and then Update the post, when I view the site, the <h1> text does not appear as a headline (i.e., larger and bolder than ordinary text), and if I look at the code on a View Source screen, it appears that the <h1> tags have been replaced by <p> tags! This is repeatable for ANY HTML tags, No caching software being used, browsers (several different ones) all have caches cleared. Stranger still, it ONLY happens with Posts, not with Pages.

    Even though I have, in my Dashboard/Profile, disabled the Visual Editor, it STILL appears in Post editing screens as a tab.

    Unfortunately, I don’t know if this is a bug introduced by the latest WP update, as this particular site didn’t have any Blog Posts previously.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – switching to the unedited default Twenty Fifteen theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).
    – If all the above steps do not resolve the issue, then try MANUAL updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old copies of files & folder on your server before uploading the new ones. Read the Manual Update directions first.

    Thread Starter wpress2010

    (@wpress2010)

    Here’s what I have discovered:

    It is most definately a Theme issue. If I swtich to the twenty fifteen theme, the issue goes away. I kind of doubt that this is a plugin problem, for that reason. I am running a Twenty Ten child theme, with modified files:

    footer.php
    header.php
    page.php
    category.php
    functions.php
    and of course the style.css file that imports the basic CSS from twenty ten itself.

    If I remove all of those child PHP files, the problem remains. But if I remove the style.css file, problem is gone. I checked the CSS file for simple syntax errors and found none, so I am going to go through it rule by rule to see where it goes bad. I can’t image how CSS code could cause this to happen, but we’ll see.

    Thank you for your help!

    Moderator t-p

    (@t-p)

    It is most definately a Theme issue. If I swtich to the twenty fifteen theme, the issue goes away.

    Yes.

    Thread Starter wpress2010

    (@wpress2010)

    Upon more investigation, if I remove all of the PHP files in the child theme, and comment out ALL of my custom CSS, I still cannot enter HTML code in any Blog post. Even a simple HTML list such as this:

    • hello
    • hello
    • hello

    doesn’t work. The page code looks like this:

    <div class=”entry-summary”>
    <p>hello hello hello</p>
    </div><!– .entry-summary –>

    I can’t imagine that this doesn’t involve some kind of a bug with Twenty Ten child themes.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you show us a screenshot of the area you’re entering this in?

    Thread Starter wpress2010

    (@wpress2010)

    I figured it out!

    My child theme parent folder was named “twentyten-child”, which apparently makes WP very unhappy.

    I created a new child theme, whose parent folder is called “twentytenchild” and everything started to work as expected. I am still working with the menu/widget havoc this has created, but at least I know WHY everything went wrong…

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Posts: HTML edits not saved! Can't disable Visual Editor’ is closed to new replies.