Skip Navigation

[Resolved] on a child post, display other child posts belonging to the same parent

This support ticket is created 5 years, 11 months 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 13 replies, has 3 voices.

Last updated by davelow 5 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1191590

Tell us what you are trying to do?
I’m trying to display, on the current post (child), other child posts that belong to the same parent as the current post.
Is there any documentation that you are following?
I have been able to do the same for the parent by following https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-related-child-posts/
Is there a similar example that we can see?

What is the link to your site?

#1191749

Hello,

You are following the correct document:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-related-child-posts/

Please make sure you have done all steps of above document, especially the step: "Using Views only"
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-related-child-posts/#using-views-only

In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2019, and test again

#1191754

Hi,

Thank you for your reply. I was able to follow and achieve what the document illustrated.
That shows child posts on a parent’s page.

But I’m looking for a solution for displaying other siblings posts on a child page. for example, X, Y and Z are child posts of A. when displaying X, I wanna show that Y and Z belongs to the same parent. Is there a guiding document for this?

#1191755

The document you mentioned above is correct document, it is for displaying other siblings posts on a single child post:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-related-child-posts/

See the description in above document:
When displaying one of these child posts, you also often need to display other, related child posts.

It is very easy to follow above document to setup the related view and content template, I am not sure which step is missing in your website, you can also provide a test site with the same problem, also point the problem page URL and view URL, I can setup a demo for you.

#1194364

Hi Luo Yang,

Thank you for your help. I think I managed to correct the error after several attempts.
How do I display the results in line as opposed to the current?

example:
hidden link

#1195320

Minesh
Supporter

Languages: English (English )

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

Luo is on vacation. This is Minesh here and I will take care of this ticket and try to help you further. Hope this is OK.

Can you please tell me which section you want to display correctly? Can you share a few screenshots? Do you mean that you want to display section "Dogs of the World" correctly?

#1205094
Screenshot 2019-02-24 at 11.56.47.png

Hi Minesh,

Thanks for reaching out.
I wanted to display the results of the section in line, instead of stacked on top of one another.
Was there somewhere i could specify that in the view settings?

#1205373

Minesh
Supporter

Languages: English (English )

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

Well - it seems you do not configure the output of your view's loop so that it should display the items side by side.

*** 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 would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

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

#1205997

Minesh
Supporter

Languages: English (English )

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

Well - strange thing is that I do not see any access details you shared in the last private reply.

Could you please send me access details again.

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

#1206017

Minesh
Supporter

Languages: English (English )

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

Could you please check now. I've adjusted the code within the view's Loop editor and now the items displayed side by side.

#1206019

thanks Minesh. it is.

#1206020

did you manage to see any error in the query filter? by itself, same DoB works well, but when paired with relationship post, it doesn’t seem to work

#1206021

Minesh
Supporter

Languages: English (English )

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

Well - would you mind to create a new ticket for your every new question. This will help other users searching on the forum as well as help us to write correct resolution summery to which ticket was originally created.

Thank you for understanding.

Even you can create a new ticket with all required details and assign it to me.

#1206059

My issue is resolved now. Thank you!