Skip Navigation

[Resuelto] I'm trying to set up a custom post type as my home page

This support ticket is created hace 5 años, 11 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Etiquetado: 

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Christian Cox hace 5 años, 11 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1177843

Tell us what you are trying to do?

I want to set the homepage as a custom post type

Is there any documentation that you are following?

I can't find any

Is there a similar example that we can see?

No

What is the link to your site?

criticaleditions.co.za

#1178522

Hi, it sounds like you want to display content from a custom post on the homepage of your site. If that's correct, you could use a View or a Content Template inserted in a static Page to accomplish this. Since WordPress is already set up to allow you to use a static Page as the homepage, this is usually the most straightforward approach.

If you want to use a View to display the custom post information, you can apply a Query Filter by post ID, and choose a specific custom post ID to display in the View.
https://toolset.com/documentation/user-guides/filtering-views-query-by-post-id/

If you want to use a Content Template, you can insert the desired custom post ID in the wpv-post-body shortcode attribute "item" when you place the Content Template in your static Page contents. For example:

[wpv-post-body view_template="Your Content Template Name" item="12345"]

Let me know if you have questions about either approach, or if I've misunderstood what you want to accomplish.