Directory Field based view in page
In My directory have 5 fields and fifth field is condition logic with drop down like (1,2,3...). Now i want show in my wp page like ..
select * from directoryformid where field_5 is '3'
[directory form="2" field_5="Second Choice"]
then it displays the users with having field-5 value is Second Choice.
how to write short code? for wordpress page