Title: Nested lists
Last modified: August 19, 2016

---

# Nested lists

 *  [pdutton](https://wordpress.org/support/users/pdutton/)
 * (@pdutton)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/nested-lists/)
 * I’m having a terrible time trying to do nested lists – like:
    1. fdasfasdfda
    2. fafasdgagga
 *  - afdadfafga
    - afagagagad
 *  - avavasvavba
    - afdagasgaga
    - Even when I cut and paste from an HTML editor, the lists don’t render as they
      should. Anyone have a solution to this?
    - Also, every time the post autosaves, the editor jumps to a new position in
      the file. Any solution to this problem?
    - Thanks for any suggestions. Maybe the whole problem is due to my ignorance
      of the WordPress editor???

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/nested-lists/#post-1307930)
 * Try using:
 *     ```
       <ol>
       <li>fdasfasdfda</li>
       <li>fafasdgagga
       <ul>
       <li>afdadfafga</li>
       <li>afagagagad</li>
       </ul></li>
       <li>avavasvavba</li>
       <li>afdagasgaga</li>
       </ol>
       ```
   
 * in the HTML tab.
 *  Thread Starter [pdutton](https://wordpress.org/support/users/pdutton/)
 * (@pdutton)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/nested-lists/#post-1308217)
 * esmi – thanks for your answer. I guess I should have been clearer…the problem
   seems to occur when I try to nest two or more unordered lists within a single
   ordered list.
 *     ```
       <ol>
       <li>Ordered list item 1</li>
       <li>Ordered list item 2</li>
       <ul>
       <li>unordered list 1 item 1</li>
       <li>Unordered list 1 item 2</li>
       </ul>
       <li>Ordered list item 3</li>
       <li>Ordered list item 4</li>
       <ul>
       <li>unordered list 2 item 1</li>
       <li>Unordered list 2 item 2</li>
       </ul>
       <li>Ordered list item 5</li>
       <li>Ordered list item 6</li>
       <ul>
       <li>unordered list 3 item 1</li>
       <li>Unordered list 3 item 2</li>
       </ul>
       <li>Ordered list item 7</li>
       <li>Ordered list item 8</li>
       </ol>
       ```
   
 * What happened was that the ordered list started renumbering after the second 
   instance of a nested unordered list.
 * Question: In your example code, you left the `</li>` off the end of the second
   ordered list item. Was that deliberate – is that what you’re suggesting?
 *  [doc4](https://wordpress.org/support/users/doc4/)
 * (@doc4)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/nested-lists/#post-1308218)
 * pdutton
 * Notice that esmi has actually included the at the end of the first unordered 
   list:
 * `</ul></li>`

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

The topic ‘Nested lists’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [doc4](https://wordpress.org/support/users/doc4/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/nested-lists/#post-1308218)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
