Title: adding html code to category value can it be done?
Last modified: August 20, 2016

---

# adding html code to category value can it be done?

 *  [lynchypeg](https://wordpress.org/support/users/lynchypeg/)
 * (@lynchypeg)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/adding-html-code-to-category-value-can-it-be-done/)
 * Hi
    I need to ask a naive question. I’m looking to add a category to a custom
   post but as well as the category, I want to add additional html. I will explain–
   my site is a sports site and in my ‘Match’ custom post type, I want to add a 
   category of ‘Opposition’ (the team to be played). What I want is that the post
   then carries an html link for the oppositions website but this code is added 
   to the post – are custom fields the way to achieve this? I’m using the Just Custom
   Field plug-in but I’m not sure how to add html as a value?
 * Thanks

The topic ‘adding html code to category value can it be done?’ is closed to new 
replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [custom post](https://wordpress.org/support/topic-tag/custom-post/)
 * [taxonomy](https://wordpress.org/support/topic-tag/taxonomy/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [lynchypeg](https://wordpress.org/support/users/lynchypeg/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/adding-html-code-to-category-value-can-it-be-done/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
