Home › Forum › Problemi Vari con WP › Eliminare i tag html durante l’inserimento di post
-
AutorePost
-
-
5 Febbraio 2009 alle 18:08 #9363RickyPartecipante
Salve a tutti,
sto stilando la grafica dei post in un semplice blog con autori vari, e vorrei fare si che quando inseriscono un post la formattazzione e l’allineamento della fotografia siano standard, e non sia possibile modificarle.
In oltre ho notato che anche se elimino i tag
<p>
se rimane uno spazio wp lo legge come un interruzione e mi lascia degli spazi bianchi.Come posso fare per risolvere questi problemi?
-
5 Febbraio 2009 alle 19:01 #62263SteveAglAmministratore del forum
Non è banalissimo farlo, ci vorrebbe un plugin che legga l’articolo trovi la prima immagine ne rimuova gli allineamenti etc e li reimposti in maniera predefinita. Non vi è altra strada… o almeno non mi viene in mente nulla, infatti i temi stile giornale usano per le immagini i campi personalizzati e non le fanno inserire nel corpo del testo (o meglio non si devono inserire nel corpo del testo)
-
6 Febbraio 2009 alle 9:21 #62286RickyPartecipante
Immaginavo fosse un bordello, mi arrangerò altrimenti, comunque sai per caso quale .php gestisca il pannello di controllo, e in particolare l’editor dei post? potrei in tanto eliminare qualche opzione di formattazione…
Grazie comunque.
-
6 Febbraio 2009 alle 9:31 #62290SteveAglAmministratore del forum
L’editor è tinyMCE che non è solo php ma anche javascript… io eviterei di metterci le mani. Se gli autori non sono affidabili non permettergli di postare direttamente gli articoli ma solo accodarli per una revisione da parte di un amministratore… gli utenti si educano meglio dei software
-
6 Febbraio 2009 alle 10:15 #62292RickyPartecipante
! Si hai sicuramente ragione..
-
9 Aprile 2010 alle 10:14 #72604AndreamkPartecipante
Si fa con i css. Utilizzando il tag important senza bisogno di toccare nulla.
img.ngg-singlepic , img.size-medium , img.size-full {
padding: 0px !important;
width: 480px !important;
height: auto !important;
}
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.