Now whether I select an item from the taxonomy or not the text "Medicinal Complaint / Use : taxonomy="complaint-search-key" / not Specified " never appears.
That is strange. Can you please share problem URL where you added the conditional statement as well as admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Can you please tell me where you added the shortcode "get_term_data_custom"?
Also - do you mean that when the shortcode "get_term_data_custom" does not return any value - you do not want to display the label "Medicinal Complaint / Use" - right?
Just to ensure that you have added the conditional shortcode within the view's loop so the code will run with every loop iteration.
Do you want that when the whole view's loop finishes and it returns the "not specified" for every loop iteration then you do not want to display the label "Medicinal Complaint / Use" - right?
Hi Minesh,
Here's a couple of screenshots of the results page.
What I need is notspecified1.jpg - with no "Medicinal Complaint / Use: not specified" line
Can you please specify and tell me where exactly you are setting up the "Functions inside conditional evaluations" in admin?
Can you please share one test post where you setup the "Functions inside conditional evaluations"?
It seems to me first I will require to understand your workflow, as you added the conditional statement out side the view's loop that is why we do not know what content you setup for what post as we added the condition outside the view's loop.
Hi Minesh,
Jamal helped me set this up (so not to clear on details) - to search taxonomies in child posts and display unique parent post titles.
The search is initiated on the home page - screenshot Home-med-complaint-search.jpg, after clicking search button receive the results - results-med-complaint-search.jpg