Visualizzazione 4 filoni di risposte
Visualizzazione 4 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Email: info@wpitaly.it
Home › Forum › Problemi Vari con WP › the_content() non mostra immagini nei post
Ciao a tutti, ho creato un tema da zero e ancora in lavorazione.
Mi sono accorto che in un loop e nello specifico in single.php ossia il file che mostra il singolo articolo completo, le immagini non vengono mostrate. Gli shortcode ad esempio quelli di jwplayer video si.
Ho controllato a db e nel campo del contenuto post vedo correttamente il tag <img…..> e usandolo statico il file esiste.
Devo richiamare una funziona perticolare in funcion.php per poterle vedere?
Spero in una risposta:)
Grazie
no, non ci va nulla nel function.php
Controlla con un tema dove funziona se non ti sei dimenticato qualcosa di fondamentale tipo wp_header e wp_footer.
Ciao e grazie per la risposta.
Ho incluso sempre wp_head() nelle pagine, c’e’ tutto diciamo.
Ora provo a ripulire il db, elimino tutto e controllo che puo’ essere perchè ho notato che ogni tanto riesco a vederle.
Altra cosa, in function.php richiamo add_theme_support( ‘post-thumbnails’ ); ma non credo condizioni questo; ho visto che senza non posso settare l’immagine in evidenza in creazione articoli.
Grazie
no quello non condiziona nulla.
Ripulito tutto e ora funziona, strano… meglio cosà¬.
grazie
WPItaly - Copyright Creative Commons: CC BY-NC-SA 4.0