Visualizzazione 9 filoni di risposte
Visualizzazione 9 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Tema personalizzato per ogni pagina
Ciao, vorrei sapere se è possibile realizzare un tema diverso per ogni pagina, ed intendo completamente diverso, non solo page.php, dovrei realizzare un sito con2 sezioni perciò devono avere colori impaginazione , cioè tutto diverso.
Spero di essere stato chiaro.
Grazie.
per ogni pagina o articolo?
pagina
crei un template di pagina diverso per ogni pagina e poi lo applichi alla pagina.
Ciao, io fino ad adesso ho midificato i file page.php, ma come faccio a modificare la head cioè voglio che cambi tutto!
utilizzi i tag condizionali is_page in header.php
Come funzionano i tag condizionali is_page, non li ho mai usati.
Grazie.
grazie.
Se avrò qualche problema nella realizzazione faccio qualche domanda.
Per farlo dò un nome di template diverso per ogni pagina, per esempio vuoi fare “galleria.php”, all’inizio della tua pagina ci metti questo:
<?php
/*
Template Name: galleria
*/
?>
Poi vai nell’amministrazione di wordpress e nella pagina voluta scegli il modello “galleria” e normalmente la pagina dovrebbe prendere l’apparenza della pagina galleria.php
Spero di essere stata abbastanza chiara
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0