# Custom Post Types as Taxonomies-how to display values

**URL:** https://discourse.roots.io/t/custom-post-types-as-taxonomies-how-to-display-values/1526
**Category:** uncategorized
**Created:** 2014-04-08T23:47:37Z
**Posts:** 2

## Post 1 by @littledevil — 2014-04-08T23:47:37Z

i have 2 post types 1 stores which has title and customfield storeurl. i have another posttype called books with title .

i assigned the posttype stores as taxonomy to books using field type as “post objects”.

now when i add a new book it lists all the store titles as dropdown option…BUT when i select the concerned store title e.g amazon and try to display it on the front end it returns nothing…totally empty…also i am not able to extract the concerned storeurl for the store with title amazon. below is my code to display them on screen

```
<div class="bookname">
	<?php echo get_field('stores'); 
 </div>
<div class="clickbtn"><a href="<?php echo get_field('storeurl');?>"> CLICK </a></div>
```

---

## Post 2 by @ben — 2014-04-09T01:16:33Z

This is not the right place for ACF support or general WP questions
