Sorry, Subject should read Custom Field not CPT
I created a new search view using blocks.
I then set up a query filter choosing specific categories.
I then setup the search section adding 2 searches for 2 Custom fields and category.
Problems...
(1) When I setup the search section my category filter was changed to select ALL categories.
(2) When I got to the front end the Custom field filter for explore-towns (Town) does not list the towns.
What is the link to your site? hidden link
Hi,
Welcome to Toolset support. I need to check how you setup the view as I see that the TOWN is a normal text input and not a select box.
I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
Make sure you set the next reply as private.
Also tell me which view to check where you created the search.
Thanks.
Would be great if I could get a response
Hi,
Thank you for the login information and sorry for our late reply. Just FYI, the next two days are my off days so you may get an answer to future questions 2 days later.
I checked the Municipal and the issue is in the way you added the field.
If you go to Toolset > Custom Fields > Fields Group for Posts and check the Explore Municipals you will see that you added an option Choose with an empty value and that is the problem cause.
You need to change that to All Municipals and it should work, or avoid adding an empty value there.
For the Explore and sub categories you can not select the view that way while you have a front end.
If you check the test view I added in the draft mode here:
hidden link
If you select the view and check the content settings, there is a section called Qurey Filter that you can use to select the category in question.
But as mentioned that is not possible if you use the same category as a front end filter select box.
Thanks.
Yes, as I said the query filter broke when I setup the search section. However, I am not sure I understand your "is not possible if you use the same category as a front end filter select box."
So, is there no way that I can restrict the page to specific parent and child categories?