<p>You could use the category handle.</p>

<p>If that doesn't suit your requirements, you can associate custom fields with categories, same as you can with entries.</p>

CC BY-SA 3.0
2017-03-08T18:07:01.443Z
2017-03-08T18:07:01.443Z
Stephen Lewis
<p>I have a category group called <code>country</code>, with each category being the name of a country.  I used the full name of the country.<br>
I realize I might want to use each country's 2-digit code.  For example, AU for Australia.</p>

<p><strong>How might I implement the abbreviations to associate with the category?</strong>  </p>

<p>Put another way, how can I use the 2-digit code as an alias for the full country name?</p>

<templating>
How can I use an alias for a category?
# How can I use an alias for a category?

(Asked by: username_0 on 2017-03-07)

I have a category group called `country`, with each category being the name of a country. I used the full name of the country.  
I realize I might want to use each country's 2-digit code. For example, AU for Australia.

**How might I implement the abbreviations to associate with the category?**

Put another way, how can I use the 2-digit code as an alias for the full country name?

**Tags:** templating

---

## 1 answers

### Answer by username_1 on 2017-03-08. Score: 1 | Accepted answer

You could use the category handle.

If that doesn't suit your requirements, you can associate custom fields with categories, same as you can with entries.


---

