Skip Navigation

[Resolved] Custom Post Type Archive only displaying 1 post

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

Problem:
Custom Post Type Archive only displaying 1 post

Solution:
When you are displaying archive using Layouts plugin, please make sure that you use archive Cell to display the post type archive.

you can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/custom-post-type-archive-only-displaying-1-post/#post-1074970

Relevant Documentation:
https://toolset.com/documentation/user-guides/wordpress-archive-cell/

This support ticket is created 5 years, 9 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 3 replies, has 2 voices.

Last updated by alvaroM-5 5 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#955470

I am trying to display all posts in a Custom Post Type Archive (using Layout), but it only shows the first one I created, although there are 2 posts created.

I can provide login details - let me know.

#955473

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Yes, please. let me check whats going wrong on your install.

*** 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 would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#1074816

Minesh
Supporter

Languages: English (English )

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

well - I checked the issue and yes, I can see the issue on the staging site you shared but strange thing is that, I just created a post type archive on my local test install and its working just fine.

Even I tried to create brand new archive for post type Cartas and added one toolset-test entry post to post type Cartas still its not displaying with the archive.

Well - I'm still wondering why its not working as its working just fine with my local test install. Even I tried to switch the theme but same result.

What if you try to check with another brand new wordpress install on different server?

#1074970

I found the issue - the archive layout needed to have an ARCHIVE CELL, in order to display all CPT items.

You can close this one. Thanks.

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