• Resolved risenir

    (@risenir)


    Hello all,

    I was updating my WordPress site with a new Excel file link. I saved the new file into the GitHub repo and then waited for it to push before making edits to the HTML code. The only change made was;
    Old – href=”…August.xlsx”
    New – href=”…September.xlsx”
    I updated August to September to match the filename in GitHub. When I clicked on upload, the site went from it’s previous state everything looking normal (e.g. map was on the page and the header/footer code was not exposed) to the behavior where HTML tags are being removed on clicking upload. I reverted back to an earlier build and my month update was reverted; however the style tags were not retained. I tried inputting <style> </style> manually and on upload they are removed.
    I have bounced back to earlier revisions of the site hoping that the tag issue was an aberration. While the code changes are correctly reversed, the style issue persists through every revision.

    Thoughts?

    All the best,
    Risenir

    Code now shows on preview and when publishing…
    .fullbleed { margin: 1em -100% 1em; } .resellerLink { font-size: 1.8em !important; } .participating_states { margin-bottom: 0.5em !important; } .mscom-image1{ margin-right: 20% !important; margin-left: 10% !important; } img.mediumLogo{ width: 30%; float: left; }

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have already facing same issue

    Thread Starter risenir

    (@risenir)

    I resolved the issue. There are several steps that I had to take.
    1. From the dashboard, hover over your page name in the upper left hand corner and select “edit site”. (the dashboard that comes up by default didn’t enable plugins for the underlying site)
    2. Go to plugins on the new dashboard.
    3. Activate / install Raw HTML
    4. Open the webpage in another tab and select “edit page” in the menu bar at top of screen.
    5. Select the editing area and notice that three vertical ellipses appear at upper left hand corner at the top of box
    6. Click the ellipses and in the dropdown menu, select “Remove Block”
    7. Click to edit in html
    8. Use <raw> </raw> around your HTML code to prevent WordPress from stripping tags on clicking “Update”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Update Removing HTML Tags’ is closed to new replies.