Title: CPT archive display
Last modified: August 31, 2016

---

# CPT archive display

 *  [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [10 years ago](https://wordpress.org/support/topic/cpt-archive-display/)
 * I have a cpt of ‘channel’, within which there’s parent/children relationships
   for geographically-oriented sub-channels.
 * EXAMPLE:
    Channel #1 – Channel #1 US — Channel #1 NY – Channel #1 UK — Channel#
   1 LON
 * Channel #2
    – Channel #2 US — Channel #2 NY – Channel #2 UK — Channel #2 LON
 * I’m having trouble displaying an unordered list with appropriate indenting of
   children.

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

 *  [Suyogya Shukla](https://wordpress.org/support/users/themeislesupport/)
 * (@themeislesupport)
 * [10 years ago](https://wordpress.org/support/topic/cpt-archive-display/#post-7419147)
 * Hey there,
 * In your visual editor, switch to text mode and add the following code:-
 *     ```
       <ul>
       <li>Channel #1
       <ul>
       <li>Channel #1 US
       <ul><li>Channel #1 NY</ul>
       <li>Channel #1 UK
       <ul><li>Channel #1 LON</ul>
       </ul>
       </ul>
   
       <ul>
       <li>Channel #2
       <ul>
       <li>Channel #2 US
       <ul><li>Channel #2 NY</ul>
       <li>Channel #2 UK
       <ul><li>Channel #2 LON</ul>
       </ul>
       </ul>
       ```
   
 * Hope it helps.
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [10 years ago](https://wordpress.org/support/topic/cpt-archive-display/#post-7419157)
 * @ Suyogya Shukla…
 * Thanks.
    Sorry, I poorly explained – although it helps refresh my memory on manually
   compiling a list, I’m trying to add code to a template rather than add it to 
   a post.
 *  [Suyogya Shukla](https://wordpress.org/support/users/themeislesupport/)
 * (@themeislesupport)
 * [10 years ago](https://wordpress.org/support/topic/cpt-archive-display/#post-7419159)
 * Hey there,
 * What do you mean by a template? Is it a static template and not WordPress? Thanks!
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [10 years ago](https://wordpress.org/support/topic/cpt-archive-display/#post-7419165)
 * @ Suyogya Shukla…
 * I’m trying to add code to a WP archive template.

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

The topic ‘CPT archive display’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [gulliver](https://wordpress.org/support/users/gulliver/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/cpt-archive-display/#post-7419165)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
