Home › Forum › Problemi Vari con WP › Eliminare definitivamente (WordPress) scritta commenti chiusi e articoli recenti
-
AutorePost
-
-
4 Settembre 2012 alle 14:52 #22489Ice273Partecipante
Ciao ragazzi,
ho un problema con i commenti e gli articoli di WordPress.
Nel mio sito, come potete vedere anche nella pagina di testata http://www.ecolab360.it/, rimane a fondo pagina, la scritta: ARTICOLI RECENTI mentre nella pagina http://www.ecolab360.it/?attachment_id=234, rimane a fondo pagina, la scritta: I COMMENTI SONO CHIUSI.
Vorrei eliminare queste scritte ma non riesco, riuscite ad aiutarmi??? Grazie mille.
Ho provato a elimina in single.php e in page.php
il codice:
<?php comments_template( ”, true ); ?>
ma le scritte rimangono!!
Ho anche provato a rimettere il codice commentato ma non funziona lo stesso.
Per ora ho ripristinato il form originale.
Grazie comunque a tutti!!
-
4 Settembre 2012 alle 17:21 #97327TittiModeratore
Hai impostato una pagina statica come Home? àˆ lo showcase template che mostra la scritta articoli recenti, prova con il template standard.
Per quanto riguarda i commenti, come prima cosa reinstalla il tema originale, twenty-eleven, che non va mai modificato.
Fai un child theme, poi da quello potrai togliere “comments are closed”, che è in comments.php.
-
4 Settembre 2012 alle 21:36 #97339Ice273Partecipante
Ciao Titti,
innanzi tutto: grazie mille davvero per il tuo aiuto!
Sono riuscito a cancellare “comments are closed” facendo il tema child e ti ringrazio. Per quanto riguarda il template mi piace che sia showcase template perché cosଠposso eliminare il titolo della pagina che viceversa non riesco ad editare dall’HTML.
Senti, approfitto della tua gentilezza ma non esiste proprio un modo per tenere lo showcase template ed eliminare la scritta “RECENT POSTS”?
Ho cercato nelle stringhe single.php e archive.php ma non ho trovato niente.
Grazie mille
-
4 Settembre 2012 alle 21:48 #97340TittiModeratore
Sଠcerto che puoi, ma non da quei file. Il template ha il suo, che è showcase.php. Trovi le parole ‘Recent Posts’ e le togli, sempre sfruttando il child theme ovviamente.
-
5 Settembre 2012 alle 9:44 #97345Ice273Partecipante
Caspita Titti, non so davvero come ringraziarti! Scusami se ti ho fatto domande tanto sceme, a sentire te sembrano tutte cavolate invece per me sono problemi insormontabili! Ahahahh.
Grazie davvero! Ci sono riuscito ovviamente, con il tuo aiuto!!!
Solo una precisazione perché non vorrei aver sbagliato di nuovo:
Nell’EDITOR, dopo aver creato il child, a me è apparsa la scritta: “Questo child theme eredita i template da un tema padre, Twenty Eleven.”
Perciò io ho cliccato sopra e cosଠmi ha riaperto tutti i php che ci sono in Twenty Eleven. In Aspetto/Tema io utilizzo il child, ma adesso mi viene il dubbio che io abbia modificato comunque i php di Twenty Eleven padre.
Ho fatto un’altra immensa cavolata oppure sta volta sono riuscito a fare la cosa giusta?
Grazie mille!!!
-
5 Settembre 2012 alle 10:35 #97347TittiModeratore
Non utilizzo un child theme e quindi non so esattamente come si vede in bacheca, la scritta dice semplicemente che hai creato un child theme che fa quel che deve fare, ereditare.
Se hai fatto le cose giuste, creato un child theme con il suo css, e aggiunto i due file modificati, direi che va bene, ma eventualmente puoi controllare i file originali direttamente per vedere se hanno ancora quelle scritte che hai tolto nei file modificati.
-
5 Settembre 2012 alle 11:03 #97350Ice273Partecipante
OK, Grazie mille davvero!!
-
29 Gennaio 2014 alle 11:25 #109203NellaPartecipante
ciao a tutti,
ho acquistato un template di un sito. Vorrei togliere la scritta “commenti recenti” presente su tutte le pagine.
Sono alle prime armi con WP, ho letto diversi suggerimenti per eliminare la scritta ma continuo a vederla.
Ho cercato in single. php la scritta ?php comments_template( ”, true ); ?> ma non c’è. Non riesco a trovarla da nessuna parte.
Qualcuno può aiutarmi?
Grazie mille in anticipo
-
29 Gennaio 2014 alle 11:38 #109204
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.