Skip Navigation

[Resolved] Issue with View Shotcode

This support ticket is created 4 years, 8 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 6 replies, has 3 voices.

Last updated by Christian Cox 4 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#1544433
view-shortcode.png
view-relationship.jpg

Tell us what you are trying to do? This ticket related to https://toolset.com/forums/topic/list-production-in-the-product-with-same-relation/

[wpv-view name="list-related-tegels" ids="[wpv-post-id item='@collection-product.parent']"] when I list the view using this shortcode all child is listing, but parent ID is listing correct this shortcode[wpv-post-id item='@collection-product.parent']

Is there any documentation that you are following?https://toolset.com/forums/topic/list-production-in-the-product-with-same-relation/

Is there a similar example that we can see?

What is the link to your site?hidden link

#1544621

Hi, can you try with a text element instead of a shortcode element? I've found that Elementor's shortcode element doesn't handle nested shortcodes well.

#1545421

it work fine with text element, but I am getting following error if parent in empty hidden link

#1545977

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nelson,

Christian is currently unavailable today but will be back tomorrow to continue assisting.

However checking on your screenshot I'm assuming that you view is returning "No Results Found". This means that your view is not finding any results.

I'm suspecting this is an issue on posts where the posts is passing in a parent ID but no parent is present so the view is passed the current post ID.

What I would do is to edit the view in the No results found section and just add something that is related to what the view should display. In our view case the default text is "No Results Found"

Thanks,
Shane

#1546971

Hi, I apologize for being unavailable yesterday, but it looks like Shane was able to provide a possible solution. Was the problem resolved?

#1548663
screencapture-staging-tegelmonsters-nl-tegel-pamesa-adras-snow-333x100-2020-03-12-23_45_14.png

I am still getting the same bug

#1548903
Screen Shot 2020-03-12 at 6.05.26 PM.png

I see the text "No items found" under "Colletie Galerij". Would you like to remove this text? I am attaching a screenshot showing where you can remove this text in the View editor.

If there is a different problem, please describe the problem in more detail so I can understand what you want to fix. Thanks!