• Frederick-SEO

    (@shamanfunk3)


    Hello, I need help with my ordered lists. My client writes these Wine Recommendation posts with several recommendations. I edit the html to go something like this:

    <ol>
    <h2><li>White Wine Recommendation #1</li></h2>
    <h3>Name of Wine</h3>
    blah blah blah paragraphs

    &nbsp;
    <h2><li>White Wine Recommendation #2</li></h2>
    <h3>Name of Wine</h3>
    blah blah blah paragraphs

    &nbsp;
    <h2><li>Red Wine Recommendation</li></h2></ol>
    <h3>Name of Wine</h3>
    blah blah blah paragraphs

    If I save right away, and look at the published post, it looks the way I want it to. With ordered list numbers displayed in H2 styles, and the list items are sequentially numbering each of the recommendations.

    But if I click out of the code editor to the visual editor, the html is stripped of my edits, leaving each of the list items as individual unordered lists with no H2 tags. I’ve done this over and over again. What is going on?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Frederick-SEO

    (@shamanfunk3)

    Also once I fix and publish the ordered lists as I would like them to be, and the html seems to be intact. I go to a new window and see that my styles are being overridden and an unordered list is being displayed.

    I’ve already tried disabling all plugins and the results are the same.

    Moderator threadi

    (@threadi)

    The HTML code is not valid at all. The block editor corrects this for you, which means that the code is then cleaned up again.

    If I understand correctly, it is about having a continuous list but at the same time using headings in the list? Unfortunately, this is not possible with WordPress’ own tools. Does it have to be a list? Is it about the automatic numbering that you want to apply to the entire content?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Ordered List changes to unordered list’ is closed to new replies.