Pregunta

( Nota del Moderador: Esta pregunta se tituló con anterioridad "¿Cómo añadir la página personalizada múltiple en wordpress" )

Estoy desarrollando un sitio de WordPress y ahora tengo una página de inicio personalizada y otras son páginas de WordPress por defecto. Ahora quiero añadir una otra página personalizada por alguna página de destino. No va a ser sub-página. la disposición y el diseño de esta página es diferente. ¿Cómo puedo añadir esto a mi página web wordpress?

¿Fue útil?

Solución

Sounds like what you want is a Custom Page Template It's quite simple, if you want to call your layout "My Special Layout" just create a file in your Theme Directory calling it whatever you like (I'd call it "page-my-special-layout.php" but that's not required) and add the following comment to the top of the template file:

<?php
/*
Template Name: My Special Layout
*/

After the comment put in whatever HTML you need to design your desired page.

Then once you have the Template in your Theme directory and you load the Page Editor in the WordPress admin console you'll be given the option to assign it as your Page Template; simple as that:

WordPress Page Editor with Page Template Selection Highlighted

Licenciado bajo: CC-BY-SA con atribución
scroll top