Saltar navegación

[Resuelto] Create homepage from Content Template (Single) and a static post page (archive)

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

Design home page with content template.

Solution:

You can create a new page, and design it to want you want using content template, then use it as home page.

Relevant Documentation:

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

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/Hong_Kong (GMT+08:00)

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por AlimB3245 hace 4 años, 7 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#1648257

Tell us what you are trying to do? I've created Content Templates for my new custom-posts to replace the original single.php .. and now I'd like to use that page as the home page for my website.. how do I do this? When I go to Main Menu->Appearance I get the option of Home Page - Static Home Page + Posts Page.. I am bit confused.. I'd like to use the Content Templates(Single) I've created as the home page and the Content Templates (Archives) for the Posts Pages

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?enlace oculto (this is what I want as the home page)

#1648489

Hello,

There isn't such a built-in feature, the option you mentioned above "Homepage", it supports only WordPress built-in post type "Pages", it does not support Toolset content templates or posts of custom post type.

So you might consider custom codes, for example below thread is talking about use a custom post as "Homepage":
https://wordpress.stackexchange.com/questions/42461/is-it-possible-to-use-a-single-custom-post-as-the-site-front-page

For your reference.

#1648519

Hi Luo Yang

Thanks for the update

This might sound too basic .. but then how do I use my Content Template for Single and Archives that I've created on Toolset?

Would I have to add a Menu or submenu and link them for the Single Pages? Please do let me know

And for the Archives Pages, what do I need to do? I don't even know how to find a permalink for those..;-)... Sorry for sounding too laymanish/newbie but I am really a bit lost here..

Regards,
Alim

#1648527

Dear Alim,

As I mentioned above, it is a limitation of WordPress core, it support pages only, in my opinion, you will need to consider to create a new page, and design it to want you want, then use it as home page.

For the archive page link, for example your custom post type is using slug "my-cpt", by default, the archive page of post type "my-cpt" should be: enlace oculto

#1648583

My issue is resolved now. Thank you!

Got it!..:-).. thanks for clarifying that.. I should have realised something so basic..;-).. but I am l glad at least now I know.. better late than never!..;-)..

Thanks again Luo Yang

Regards,
Alim