Visualizzazione 5 filoni di risposte
Visualizzazione 5 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › Come posso integrare i widget se il tema non me lo permette?
Sto usando da tempo il tema ILLACRIMO, tradotto e adattato a mia immagine e somiglianza.
Quando aggiungo un widget per esempio nella colonna destra, mi sparisce tutto quello che ho e mi appare il widget.
Ora ho la necessità di aggiungere qualche widget ma il tema non me lo permette.
Qualche modifica devo fare al tema per integrare i widget?
grazie
Se mettendo un widget sparisce il contenuto predefinito allora il tuo tema supporta già i widget!!! altrimenti nella schermata dei widget non avresti sidebar dove metterli.. e apparirebbe un messaggio che segnala che il tema non supporta i widget.. ergo o ti spieghi meglio o stai sbagliando qualche cosa…
vorrei, pur mantenendo la mia colonna personalizzata, integrare 1 widget senza che mi sparisca la mia personalizzazione. Grazie.
Ora è tutto molto più chiaro.
Nella sidebar dovresti avere un codice simile a questo:
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>
blablabla
<?php endif; ?>
Dove blablabla dovebbe essere quelloc he vedi senza widget… posi blabla bla dopo endif e al parte widgetttata sarà pria delle cose che vedi senza widget se lo metti prima dell’if il contrario… se vuoi mischiare i contenuti o fai più sidebar… o scrivi i widget che ti servono… info sul codex su come widgetizzare un tema:
Mille grazie, provato e funziona !
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0