I am trying to Show a BUTTON only if the wordpress post meta tag contains specific text.
strip_tags(get_the_term_list( $post->ID, 'posttype')
I have lot of tags in this posttypes tag for example- Hindi, English, Hindi-English, Maths, Hindi-Maths, Hindi-English-Maths.
I want to show this BUTTON for all posts if tag contains Hindi.
<button class="boxeedbk buttonbk">"CONTAINS HINDI as WELL"</button></a>
What statement could it be so I put in single.php worpdress theme.
Thank You