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>