Okay
  Public Ticket #2034061
Widget html showing ID istead of Name
Closed

Comments

  • Gerard started the conversation

    I made a CPT with Pods including a relationship with a custom taxonomy. In the widget "News Scroller With Thumbnail" html i'd like to show the name of the chosen taxonomy. But it only displays the id of the chosen taxonomy. How can i change it to the name?

    HTML:

    <div class="blox-scroller-box" style="border-color:#EEEEEE;">
                    <a class="flex-container" href="{{item.post.link}}">
                    <div class="blox-round-image">
                        <img src="{{item.post.image}}" alt="">
                        </div>
                        
                        <div class="blox-scroller-content" style="background:{{bg_clr}};">
                            <div class="blox-heading">{{item.post.title|raw}}</div>
                          <div>
                            {{item.post.cf_locatie}}
                          </div>
                        </div>
                    </a>
                </div>

  •   Max replied privately
  • Gerard replied

    Thank you very much. I hope you can find a solution.

  •   Max replied privately
  •   Max replied privately
  • Gerard replied

    Hi Max,

    Thats awsome! One more thing, the custom fields from the linked taxonomy aren't available. Is it possible to fix?

    Thank you and for your quick fix!

    Greetings

    Gerard

  •   Max replied privately
  • Gerard replied

    Hi Max,

    Just a reminder for this ticket :)

  •   Max replied privately
  •   Max replied privately
  •   Max replied privately
  • Gerard replied

    Hi max,

    I've made a custom taxonomy with custom fields (Naam & Foto) (https://ibb.co/R3VKksR) and linked it with a custom post type (https://ibb.co/Br8L1XY).  When i want to add for example the custom field Foto, it is not listed  https://ibb.co/LrhFPX7

  •   Max replied privately