Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
Show Button if get_the_term_list contains specific Text

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

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!