Skip Navigation

[Resolved] Custom archive is looping twice

This support ticket is created 4 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
- 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 2 replies, has 2 voices.

Last updated by brianO 4 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1500839

I am trying to:
Created a custom archive for post type / new Taxonomy. It is displaying correctly, but it loops the content twice.

when inserting with bootstrap it post: ( O have removed the double created: [wpv-item index=other]
<div class="col-sm-12">[wpv-post-body view_template="loop-item-in-our-people"]</div>) But still displays the content in a double loop.

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop wrap="1" pad="true">
[wpv-item index=1]
<div class="row ">
<div class="col-sm-12">[wpv-post-body view_template="loop-item-in-our-people"]</div>
</div>
[wpv-item index=other]
<div class="col-sm-12">[wpv-post-body view_template="loop-item-in-our-people"]</div>
[wpv-item index=pad]
<div class="col-sm-12"></div>
[wpv-item index=pad-last]
<div class="col-sm-12"></div>
</div>
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

#1501337

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 access details so I can check further why its displaying loop twice.

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

#1501915

My issue is resolve
HI, Thank you for the reply. After further investigation, I found the problem with the theme. I was finally able to overwrite the template with a custom taxonomy template, and it works.d now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.