Skip Navigation

[Resolved] Archive Views displays duplicate posts

This thread is resolved. Here is a description of the problem and solution.

Problem:

This customer was experiencing duplicate posts in their archive view.

Solution:

For this customer's specific case he had some extra elements outside of the wpv-loop tag which was causing duplication of the first post.

All he had to do was remove this extra code.

If you are experiencing a similar issue ensure that only the code required for displaying your content is present and that it is wrapped within the tags

This support ticket is created 7 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Roberto Ciccolella 7 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#382538

Hi,

After update archive views show 3 duplicates on blog posts listing page.

see screenshot:
hidden link

This happen in both localhost and production site.

site: hidden link

Thanks

PS: Debugger doesn't work

#383749

Shane
Supporter

Languages: English (English )

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

Hi Roberto,

Thank you for contacting our support forum.

Could you provide me with a direct link to the archive page so I can have a look ?

Also Could you provide me with screenshots of your custom archive that was created in views ?

Thanks,
Shane

#388744

Sorry for the late reply Shane.

Link to blog page:
hidden link

will follow screenshots
Thanks
Roberto

#389328

Views setting screenshot:
hidden link

Regards

#389719

Shane
Supporter

Languages: English (English )

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

Hi Roberto,

Thank you for the screenshots.

Would you mind providing me with admin access to the website ?

I will be enabling the private fields for your next response.

The reason for this is that I would like to have a deeper look at your archive view.

Thanks,
Shane

#389745

Shane
Supporter

Languages: English (English )

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

Hi Roberto,

I managed to find this in you loop output on the archive.

[wpv-post-body view_template="Loop item in Home/Blog, Search results, Author archives, Year archives, Month archives, Day archives, Categories, Tags"][wpv-post-body view_template="Loop item in Home/Blog, Search results, Author archives, Year archives, Month archives, Day archives, Categories, Tags"][wpv-post-body view_template="Archive Listing"]

Removing this removed the duplicate.

Please let me know if this helps.
Thanks,
Shane

#389748

Shane, I have no idea why I had that duplicate shortcodes?
By the way, many thanks for fixing the issue.

Time ago I discovered a bug of the Genesis editable loop in Layouts not rendering the Genesis Comment Section.
Can you check if this bug has been fixed?

Thanks again.

Regards
Roberto

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