Skip Navigation

[Resolved] Displaying Related Posts Within a Post

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 4 replies, has 3 voices.

Last updated by Minesh 2 months, 3 weeks ago.

Assisted by: Minesh.

Author
Posts
#2777246
Screenshot 2024-10-11 14.35.08.png
screencapture-katec68-sg-host-wp-admin-admin-php-2024-10-11-14_34_19.png

Tell us what you are trying to do?
Display related post content, within a page/post.

We have the the related post types 'Members' and 'Member Offers'.
I would like to display related 'Member Offers' on the individual 'Member' pages.

Is there any documentation that you are following?
https://toolset.com/documentation/legacy-features/views-plugin/displaying-related-child-posts/

Is there a similar example that we can see?
I have managed to get this to work on our old site (here hidden link)

Just can't seem to get it working in our new development site environment.

What is the link to your site?
hidden link

#2777259

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Looking at your staging site in the page source I can see markup generated by a View, but where I would expect to see the generated content there are a number of empty "mailmunch" divs.

Could you try disabling other plugins except for Toolset and Elementor (particularly a "mail munch" plugin) and see if that affects what is output?

#2777975

Thanks Nigel.

I've removed the Mailmunch plugin but it still doesn't work.

I tried deactivating all non Toolset plugins, and its still not appearing.

Can you help?

#2777981

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 admin access details and let me check what's going wrong with your setup.

*** 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.

#2778110

Minesh
Supporter

Languages: English (English )

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

Can you please check now: hidden link

I've adjust the view's Query Filter as given under:
- hidden link

Filter by post relationship or repeatable fields group owner
Select posts in a Complementary Member Offers relationship that are related to the Post where this View is shown.

And with your loop template I've adjusted the shortcode as given under:

[wpv-post-body view_template="None"]

Can you please confirm it works as expected.