Ciao, il titolo puo’ sembrare banale ma per spiegarmi meglio quello che vorrei fare sarebbe prendere il contenuto inserito in un textwidget senza ritrovarmi poi nell’html della pagina il suo <div class=”textwidget”></div> come contenitore.
In pratica devo mettere nell header del sito il codice di google analitics ma non devo avere il div intorno.
Ho visto che col get_option() o qualosa di simile posso recuperare determinate cose.
Con <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘ADV top’) ) : endif; ?> chiamo il mio contenuto.
Posso in qualche modo filtrare per non avere il contenitore text?
Grazie