Hi, I need help figuring out what I’m doing wrong. I’m trying to learn Cornerstone Forms so I can use it on my clients’ websites. I tried following the instructions in your video about CPT filters, but selecting options from the checklist doesn’t filter the results. Can you help me, please? (I’m working on an archive layout)
Hey @dcheese,
It’s likely because you have the Looper Provider enabled in your Posts element. Try disabling it.
I just noticed that using the GET method in the form, and going to the URL of a filter, I get a page with the filtered results, but without the form and not formatted.
Hey @dcheese,
At the moment, you have a Slug Conflict.
Custom post type:

Category name:
1.) I would recommend deleting the category name or at least renaming it.
2.) You cannot assign the Sample Page Layout as your blog index and at the same time your Route archive page. You will need to assign this layout to a single archive layout so that the returned items are consistent.
3.) Create sample post items to distinguish post items from your route items.
4.) Blog layout should be assigned to the blog index, while your current layout will be exclusively assigned to the Route custom post type.
5.) Archive layouts must not have a Looper Provider. Disable the Looper Provider and use only the Looper Consumer in your layout.
Once you have the above, the filter should be working.
Best Regards.
Thank you. I hope I’m on the right way. The filter seems to works now (please look at the home page), though not very well: the graphic layout isn’t maintained, and using two filters at the same time doesn’t yield the desired results. For example, selecting “ITS” and “FOGGIA” together, shouldn’t yield any results. The first filtered result appears and remains instead.
Hello @dcheese,
Your custom post type are in draft mode.
I made some tweaks and even set the CPT to have an archive. You should be seeing the layout in the secure note below.
Thanks.
Thank you so much! Is there a way to display the phrase “no results match your search criteria” if two or more selections don’t produce any results? For example, if you select “Università” and “Bari” at the same time, the filters show the previous results, without indicating that the two selections produced no results. I’d also like to add a blank option, a simple select that prompts you to choose an option from those shown below. I tried adding a blank option, but the form stops working.
ETA: I added a search field but it displays no results
For the default archive looper, you can use the Has Posts condition set to No for a message that says something like No Results Found. For your posts area you would set the opposite condition.
If you were using a custom looper, you could use the Looper > Provider Output condition.
Have a great day.
-
Thank you, but it doesn’t work, maybe because even if there are no results, the displayed posts remain visible.
-
I’d also like to add a blank option, a simple select that prompts you to choose an option from those shown below. I tried adding a blank option, but the form stops working.
-
search field doesn’t work, because whatever word I try to search, is added to the other two selected options. This is the reason why I’m ask into point 2.

Hey @dcheese,
To make it work, you will have to assign your custom layout to those archive pages as well.

The search field would work on the Search Results page, and then, if there are no post items being returned, the “Has Posts” assignment condition gets triggered.
Hope this makes sense.
that’s great! But how to add a blank option, a simple select that prompts you to choose an option from those shown below. I tried adding a blank option, but the form stops working. OR an option that show ALL results? For example, I would like to select “Università” and “ALL cities”. Is it possible?
Hello @dcheese,
Do you mean like this?

You will have to create a one Checkbox list entry with no value.


Hope this makes sense.
Exactly what I need! Thank you so much!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.





