Skip Navigation

[Resolved] [/wpv-items-found] appears at the end of the page

This support ticket is created 6 years, 2 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by franciscoR-5 6 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1173018

I am trying to:
I used the loop wizard again to recreate the loop using the bootstrap grid with 2 columns to display experts post type and have the following code:
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop wrap="2" pad="true">
[wpv-item index=1]
<div class="row justify-content-around">
<div class="col-sm-5">
[wpv-post-body view_template="expert-single"]
</div>
[wpv-item index=other]
<div class="col-sm-5">
[wpv-post-body view_template="expert-single"]
</div>
[wpv-item index=2]
<div class="col-sm-5">
[wpv-post-body view_template="expert-single"]
</div>
</div>
[wpv-item index=pad]
<div class="col-sm-5"></div>
[wpv-item index=pad-last]
<div class="col-sm-5"></div>
</div>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-layout-end]

Link to a page where the issue can be seen:
hidden link

I expected to see, instead I got:
Each expert post type displaying but "[/wpv-items-found]" is appearing at the end of the page.

Thanks for your help.

#1173245

Hello,

Thanks for the details, the problem in your view "Expert single-Published papers accordion"
hidden link

Section "Output Editor", you are using [wpv-conditonal]... [/wpv-conditonal] shortcode to wrap the shortcode [wpv-layout-meta-html], it conduct the problem, the shortcode [wpv-layout-meta-html] is required to render the Views result. I suggest you try these:
1) Keep only shortcode [wpv-layout-meta-html] in section "Output Editor",
2) move all [wpv-conditonal]... [/wpv-conditonal] shortcode to your content template "Expert single":
hidden link

And test again.

#1173543

Thank you for helping to figure that out.
Removing the conditionals from the "Output Editor" worked.
My issue is resolved now. Thank you!