Show Hide post information Based on term Click
-
let me explain my requirements. I have wordpress website and I have created a custom post type reviews. Single post have acf fields which I want to show up depending upon the the term user clicks on taxonomy archive page. So under custom post type review I have taxonomy with slug vendor_category and under this taxonomy I have three terms with slug business-banking, business-line-of-credit and business-loans. Now what I want is that if user click on business banking acf field to be shown is banking_field and if user click on business-line-of-credit then acf field to be shown is line_of_credit and if user click on business-loans then acf field to be shown is business_loans_field. Also one post is assigned to all terms so information showed on single post depend upon the clicked term
- You must be logged in to reply to this topic.