Title: Hardcoding Category List
Last modified: August 20, 2016

---

# Hardcoding Category List

 *  [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * (@bluedrag)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hardcoding-category-list/)
 * I’d like to hardcode a list of post excerpts (all of a specific category) inside
   a div of my template. Does anyone know the code for this?
 * Also is there a way to add tags at the beginning/end of the list, like you would
   do for a widget in the functions.php file?
 * Thanks!

The topic ‘Hardcoding Category List’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [excerpt](https://wordpress.org/support/topic-tag/excerpt/)
 * [hard-code](https://wordpress.org/support/topic-tag/hard-code/)
 * [list](https://wordpress.org/support/topic-tag/list/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [Short Code](https://wordpress.org/support/topic-tag/short-code/)
 * [template tag](https://wordpress.org/support/topic-tag/template-tag/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [bluedrag](https://wordpress.org/support/users/bluedrag/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/hardcoding-category-list/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
