Skip Navigation

[Resolved] Split: Show view the same – add more filters

This support ticket is created 2 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 8 replies, has 2 voices.

Last updated by Minesh 2 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2519313

Hi Minesh,

I've made some changes and now it doesn't work anymore.
Dumb on my part.

Now I have
taxonomy "Ligging"
-- Alleenstaand
-- In een dorpje
-- Op een eiland

taxonomy "Type huisje"
-- B&B
-- Blokhus
-- Boerderij

I've already tried to change the code but I can't, can you change it for me?

In the future I also want to apply more taxonomies and taxonomies with multiple filters. So, for example, the taxonomy "location" and then with an extra filter such as two rooms. Does this also work? Or do I have to change the code for this?

#2519339

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and where you made the changes.

Do you want to pre-filter the view result before it get displayed on the page with different taxonomy terms?

When the ticket is resolved the system will automatically delete the private information shared by users. That is why I will require the access details again.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site.

I have set the next reply to private which means only you and I have access to it.

#2520139

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

In your case I believe rather then the block view, classic view would be better choice as it will allow you to add filters for multiple taxonomies.

Your requirement is still not clear to me. I understand that you want to pre-filter the results before it gets displayed.

For example this is the URL: hidden link

What you want to filter now?

Do you mean that you also want to filter the results with specific term of another taxonomy as well?

#2520845
Show exactly like this view.PNG
Custom field Inspiratie-luxe-huisjes.PNG

On every page I want to show a different view so that I can adjust every view by myself per page.
For the Template voor Inspiraties I use ''view (9 stuks) van categorie'' with the view shortcode.

I want to display it exactly the same as the view but now it is displayed differently (under each other and not in columns), see hidden link

How can I display the view exactly the same (design as the view such as 3 columns etc)?

#2521201

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It seems you have messed the grid system. I just created a new view to display loop output with grid style with three columns and as you can see its working as expected:
=> hidden link

Can you please try to redesign your view and remove unwanted grids you added and check.

#2524463
luxe huisjes.PNG

I think you misunderstood me.
In the template <template voor inspiraties> I will use the view shortcode.
For example <luxe huisjes> has the code [wpv-view name="view-luxe-huisjes"]
but is shows like this:
hidden link

#2524653

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The issue was you are using block view and block view does not able to load the related styles when you try to output the block view by adding that to custom field.

However the workaround would be:

I've created the following view in classic mode and set the loop to use the block editor.
=> hidden link

Where with block editor I've added the image and title with the link:
- hidden link

Then I've added this view to the field "View (9 stuks) van de categorie" on the following edit post/page:
=> hidden link

Could you please check now: hidden link

I can see now it displays correctly. Can you please confirm.

#2524979

Perfect 🙂 And how can I display 2 images side by side for a tablet?

#2525553

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please try to follow the solution I shared with the following related ticket:
- https://toolset.com/forums/topic/grid-to-2-columns-on-tablet-only/#post-1501467