Skip Navigation

[Resolved] Layouts: the archive page is showing pages even though I only want to show CPT

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/Karachi (GMT+05:00)

This topic contains 2 replies, has 3 voices.

Last updated by Waqar 1 year, 1 month ago.

Assisted by: Waqar.

Author
Posts
#2671969

I am trying to show only CPTs in Archive page.

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

I expected to not see any pages, only CPTs created under the name of 'Opiniones'

Instead, I see a full list of items including pages.

#2672019

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2023-12-08 at 15.44.58.png

Hi there

I tried to log-in to your site to check the settings for your custom archive, but the credentials you provided don't work.

I checked on a local test site, where things appeared to work normally, so that it looks to be something particular to your site.

Can you review the settings for the custom author archive at Toolset > WordPress Archives, in particular those shown in the screenshot about which post types ought to be displayed?

If those appear correct (to only show the custom post type in question) then perhaps you could provide working credentials so that we can check your site?

(Note: in your question you said the archive should show CPTs. If it is actually set to show standard Posts, try changing the setting to something else, and then change the setting back to Posts, in which case I suspect it will fix the issue.)

I'll set another private reply for that.

#2672037
#2672493

Hi,

Thank you for sharing the access details.

I checked the WordPress Archive named 'Archivos de autor' and noticed that the option for the 'Author archives' was not checked.

I enabled it under the 'Loop Selection' and from the edit button, selected only the 'Opiniones' post type.
( screenshot: hidden link )

After these changes, the author archive page is only showing the 'Opiniones' posts.

regards,
Waqar

#2672753

Hey Waqar, thanks so much for your reply. Problem solved and ticket closed, thanks!