Pulling custom defined list values in a pods template
-
Hi,
I have a custom post type called “webinars_bar”. In this, I have a field called ‘webinar_button_icon’ which is essentially a font awesome icon and I have defined them as a simple defined list as below,
<i class="fas fa-angle-right"></i>|Right arrow <i class="fas fa-arrow-circle-right"></i>|Right arrow in circle <i class="fas fa-play-circle"></i>|Play icon in circle <i class="fab fa-youtube"></i>|Youtube play <i class="fas fa-exclamation-circle"></i>|Exclaimation in circle <i class="fas fa-comments"></i>|Chat <i class="fas fa-headphones"></i>|Headphones <i class="fas fa-podcast"></i>|Podcast "<i class="fas fa-video"></i>"|Recording <i class="fas fa-mobile-alt"></i>|Mobile phone
I have defined a pods template to display these in the front-end which is this,
<a class="nectar-button medium regular m-extra-color-gradient-2 has-icon" style="visibility: visible;" href="{@webinar_page_link}" data-color-override="false" data-hover-color-override="false" data-hover-text-color-override="#fff"><span>{@webinar_button_text}</span>{@webinar_button_icon}</a>
However, in the front-end the icon HTML does not get displayed. Instead I see the Label from the value|Label being displayed. How do I get it to display the whole value (which is the HTML)?
- The topic ‘Pulling custom defined list values in a pods template’ is closed to new replies.