Hi, I am trying to use the same view for different pages with different filter methods.
For example, I have a rental website and listing from different cities in France. I already have a view created to list all my items including from Paris, Lyon etc. However, I would like to create a different page for each city (let's say Paris) to show relevant view items from that particular city which is Paris.
Do I need to create the same view repeatedly for each city? Or is there a way that I can filter for each page to do this with only one view and tell which page to show on?
Thanks for your prompt answer and I follow your steps. The legacy mode is activated.
I tried to use a short code and I got the visualization of the view. But my cities are taxonomy and I couldn't filter them out in the view to be able to filter only certain cities.
These are the shortcodes that I tried:
[wpv-view name="homestay list canada" category="Toronto"]
[wpv-view name="homestay list canada" City-in-Canada="Toronto"]
I also checked the following articles but the problem is not solved yet.
Can you please share problem URL where you are trying to display your view 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.
As you can see with the following view:
- hidden link
I've added the query filter for your taxonomy under the "Query Filter" section:
Taxonomy filter
Select posts with taxonomy:
Cities in Canada slug in one of those set by the View shortcode attribute wpvcitycanada
eg. [wpv-view name="view-name" wpvcitycanada="xxxx"]
You can add whatever content you want to display inside the "Loop Editor" section.
And you can call the above view for different cityes as given under where you will have to pass the term slug: