Skip Navigation

[Resolved] Display Custom Post Type’s Achieve on Homepage using Layouts

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

Problem:

The issue here is that the user wanted to add their archive cell to their homepage layout.

Solution:

Is there any way to achieve this, or can only the normal WordPress 'posts' appear on the homepage using Layouts
A. So this one won't be possible because archive cells ONLY work on wordpress archive pages.

I was execting to be able to select which 'post types' I want to display on the homepage (like when creating a view), but there's no option for this.

This is because when adding an archive cell to your layout it is under the assumption that you are creating a custom archive page. If this was the case then you will need to use the "Change how this layout is used" button to assign the layout to a custom archive.

As a workaround for this you will need to create a substitute archive page by using views. All that is need is by going to Toolset-> Views and just creating a new view for the CPT you want to display on the homepage.

Then you just need to go to your homepage layout and add a view cell, then add this new view that you've just created. This works just as well as with the archive.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 2 replies, has 2 voices.

Last updated by dmfzw 5 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1199209

Hello,

I'm using a custom post type and I want to display this custom post type's archive on the home page of my site using Layouts instead of the native WordPress homepage achieve. However, while I'm able to create an archive for this cpt, which would display here (for example): hidden link, I'm not able to get this archive to appear on the homepage (e.g. hidden link).

Is there any way to achieve this, or can only the normal WordPress 'posts' appear on the homepage using Layouts?

I was execting to be able to select which 'post types' I want to display on the homepage (like when creating a view), but there's no option for this.

Any ideas?

Thanks

#1199282

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for contacting our support forum.

Is there any way to achieve this, or can only the normal WordPress 'posts' appear on the homepage using Layouts
A. So this one won't be possible because archive cells ONLY work on wordpress archive pages.

I was execting to be able to select which 'post types' I want to display on the homepage (like when creating a view), but there's no option for this.

This is because when adding an archive cell to your layout it is under the assumption that you are creating a custom archive page. If this was the case then you will need to use the "Change how this layout is used" button to assign the layout to a custom archive.

As a workaround for this you will need to create a substitute archive page by using views. All that is need is by going to Toolset-> Views and just creating a new view for the CPT you want to display on the homepage.

Then you just need to go to your homepage layout and add a view cell, then add this new view that you've just created. This works just as well as with the archive.

Please let me know what you think of this suggestion.

Thanks,
Shane

#1199513

Thanks Shane, that's perfect!