Skip Navigation

[Resolved] Related posts filtered by taxonomy

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 23 replies, has 2 voices.

Last updated by Minesh 11 months, 1 week ago.

Assisted by: Minesh.

Author
Posts
#2675029

Minesh
Supporter

Languages: English (English )

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

I think the comma separated post IDs will not require further thing but for that you will have to use single line field as number field will not allow comma as number field require numeric value.

You can check whats better for you either single line field holds the post ID values comma separated or number field which is set as repeating field. For me to provide you solution both will work.

Let me know once you create that field and setup the post IDs with that field that posts will be shown with your slider and share the post edit link where you setup those post IDs and then I will help you with the final changes.

#2675033

Hi Minesh,

I have chosen the repeating field.

You can see them for example here: hidden link or here: hidden link

#2675037

Minesh
Supporter

Languages: English (English )

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

Do you mean you created the repeating field group "Autoclaves relacionados" instead of repeating field?:
- hidden link

#2675049

Yes, I confused the two, I thought you were referring to a repeating field group (that had the advantage that I can specify the name of the post each id is referring to).

Shall I change the repeating field group to a repeating field then?

Sorry for the confusion, and thank you for your help!

#2675051

Minesh
Supporter

Languages: English (English )

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

I'm getting the error "Error establishing a Redis connection" can you please fix this as I can not able to access the wp-admin.

#2675053

Sorry about that. The hosting decided to move the web to another server, that's why the problem.

It should be fixed now

#2675059

Minesh
Supporter

Languages: English (English )

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

I can still face the issue. Can you please get back to me once you fix that.

#2675065

Now it's ok - sorry again

#2675069

Minesh
Supporter

Languages: English (English )

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

Can you please check now and confirm it works as expected now:
- hidden link

I've added the following view to get all the related repeating field group post ids:
=> hidden link

I've added the post Id query filter to your slider view as given undeR:
=> hidden link

Post ID filter
Include only posts with IDs set by the View shortcode attribute "ids" eg. [wpv-view name="view-name" ids="1"]

To the content template - I've added the "Fields and Text" block and added the slider view as given under:
=> hidden link

[wpv-view name="carusel-autoclaves-relacionados" ids="[wpv-view name='get-all-ids-for-slider']"]

Can you please confirm it works as expected now.

#2675135

It's working now!

Thank you very mu h Minesh!