Risposte nei forum create
-
AutorePost
-
17 Settembre 2013 alle 16:30 in risposta a: Problema eliminazione post dal cestino Fatal Error #106260ugougougoPartecipante
ho modificato il post precedente poco prima pubblicassi la tua risposta…ok provato il plugin che mi hai consigliato…e…OK! Pulito! Inoltre la cosa strana è che il database dopo la pulizia del cestino si è ridotto di pochissimo, però tutto funziona…Anche se sono sempre intorno ai 22 mb (non pochi per quanto c’è sul sito in effetti…)..Forse il fatal error era dovuto a qualche post “strano” che poteva forse compromettrere le risorse a disposizione dell’installazione…I problemi sono apparsi in effetti dopo un commento ricevuto su un articolo…era una sorta di spam non proprio chiaro, che però avevo cancellato per sicurezza…beh grazie
17 Settembre 2013 alle 15:42 in risposta a: Problema eliminazione post dal cestino Fatal Error #106258ugougougoPartecipanteHo già un plugin di pulizia database ma non elimina quanto c’è nel cestino, ne ho provato anche un’altro ma senza esito…inoltre vista l’anomalia tiro a caso…non vorrei che nemmeno il processo automatico che dici non riesca a fare il suo dovere comunque per ora il sito è accessibile, aspetterò l’eliminazione automatica e vedremo….nel frattempo se qualcuno conosce un sistema per intervenire ed eliminare quanto c’è nel cestino ogni consiglio è ben accetto, grazie
28 Gennaio 2012 alle 13:22 in risposta a: Nascondere titolo pagina in alcune pagine di wordpress #92638ugougougoPartecipanteApri il file page.php e fanne una copia di sicurezza.
Togli la riga che mostra il titolo nelle pagine, la stessa di cui abbiamo già parlato, in genere è racchiusa dentro un tag <h>.
A questo punto non avrai i titoli in nessuna pagina, ma nelle pagine in cui ti interessa averli puoi aggiungerli tu manualmente nel corpo del testo, se le pagine non sono tante.
grazie, provato e funziona perfettamente ma è effettivamente è poco pratica con numerose pagine da gestire e comunque poco elegante in generale.
Ho trovato però come risolvere la cosa, la riporto per chi fosse interessato:
la riga da individuare e che gestisce la visualizzazione del titolo pagina non era nel file page.php ma è in template-fullwidht.php nel mio caso, cioè lo stile di pagina associato da me, attraverso apposito pannello ATTRIBUTI PAGINA.(sulla DX in teoria, sotto il box deidcato alla PUBBLICAZIONE pagina) .
Aggiungo che: gli stili/template pagina e il loro codice che gestisce il titolo, possono cambiare a seconda del tema wordpress che si usa, comunque il codice suggerito da titty credo si possa intendere come quello di base a cui riferirsi per cercare simile nel proprio sito/template wordpress, fra i vari php che lo compongono o meglio fra i php che impostino il layout delle pagine, e come detto poco più sopra selezionabili nel pannello apposito…
ecco la santissima porzione di codice (non pubblicata prima perchè dovevo capire ancora il passaggio precedente…):
ho modificato la riga cosଠla riga:
.8 <h2 class="nice_title"><?php the_title(); ?> <span><?php echo stripslashes(get_post_meta($post->ID, "subline", true));?></span></h2>
ho tolto solo the_title();, mantenendo il resto invariato. In questo modo sparisce solo il titolo pagina e mantendo attivo e visibile gli elementi classificati come subline e che mi piace restino visibili.
Ora se salvo il mio file template-fullwidht.php, la modifica appena fatta, verrebbe applicata ovviamente a tutte le pagine che abbiano associato il template pagina “fullwidht”, cosଠcercando sul web ho trovato soluzione di “rifinitura”:
nella riga, ho aggiunto no title:
.2 /* Template Name: Fullwidth no title */
ho salvato il php con il nome template-fullwidth_notitle.php e caricato su server.
Tornando nelle impostazioni delle pagine ora ho a disposizione due varianti del template a tutta pagina: con e senza visualizzazione del nome pagina all’interno della pagina stessa. posso cosଠscegliere fra le due versioni di impaginazione usare a seconda delle necessità che ho per le varie pagine del sito. Ciao!
27 Gennaio 2012 alle 19:36 in risposta a: Nascondere titolo pagina in alcune pagine di wordpress #92628ugougougoPartecipante@ Titty: non ti seguo…Einsetein non ha detto ancora niente di specifico, tu mi pare hai segnalato un codice che nasconde TUTTI i titoli pagina, ma non devo nasconderli tutti, l’avevo segnalato all’inizio della discussione…Aspetto vs. parere…grazie
27 Gennaio 2012 alle 19:08 in risposta a: Nascondere titolo pagina in alcune pagine di wordpress #92626ugougougoPartecipante@ Titti: non a tutte solo ad alcune pagine, specificate magari come si come fa, da quanto ho capito, con le id post…Ovviamente qui non ci sono id…
Prima di postare ho fatto ricerca sia in italiano che inglese ma non ho trovato quello che cercavo quindi ho chiesto qui!
27 Gennaio 2012 alle 18:31 in risposta a: Nascondere titolo pagina in alcune pagine di wordpress #92623ugougougoPartecipante@ Albert Einstein: Esattissimo, è proprio quello che devo fare
se pubblichi codice usa Pastebin e limitati alla riga interessata e limitrofe
ok seguo consiglio, non conocendo però php mi dovreste dare voi indicazioni per individuare le righe che interassano la visualizzazione del nome pagina, magari indicandomi qualche parola specifica o ricorrente per la visualizzazione dei titoli pagina.
Grazie!
17 Gennaio 2012 alle 23:44 in risposta a: problema con datazione di un post da bozza a pubblicato #91928ugougougoPartecipanteMica per essere presuntuoso; ma se ho detto come si comporta WordPress quando si pubblica (senza andare a modificare i campi appositi) vorrà dire che lo so perché lo vedo funzionare, lo manutenziono e, qualche volta, utilizzo.. Giusto in un migliaio di diverse installazioni.
ho fatto bene quindi a chiedere un parere! In effetti io non lo uso molto…non ero sicuro di NON aver mai visto questo comportamento dei post…e invece mi sbagliavo…ma è normale per i non esperti…preferisco vettori, bitmap e livelli in tutta onestà …e un pochino di css
Se avessi saputo delle migliaia di installazioni, non avrei certamente esitato…!!!
Al momento la proprietaria del sito mi ha detto di lasciar perdere il problema…non vuole infatti spegnere temporaneamente tema e plug in e fare nuovo test a cavallo della mezzanotte…anche se cosa di pochi minuti…mi spiace avervi fatto perdere tempo…(@ Titti: al momento usa Genesis by studiopress)
Grazie ancora a tutti per l’aiuto!
13 Gennaio 2012 alle 14:48 in risposta a: problema con datazione di un post da bozza a pubblicato #91764ugougougoPartecipanteil framework è studiopress, l’avevo già segnalato all’inizio del post
Ci credo, però salvare è altra cosa
E la modifica manuale della data la prende?
scusa ma non ho specificato che il cambio di stato/visibilità ovviamente veniva seguito da salvataggio ad ogni tentativo…
@ zhenya
Mica tanto semplice, significa che qualcosa non funziona in quella installazione. Di default WordPress non pubblica stampando la data della creazione o modifica della bozza nella url, bensଠcon quella del momento in cui si pigia il pulsante pubblica.
mmm…non ne sono sicuro…comunque faccio prova sul mio wordpress e vedo cosa succede e vi aggiorno..nel frattempo grazie a tutti per il supporto
12 Gennaio 2012 alle 23:58 in risposta a: problema con datazione di un post da bozza a pubblicato #91747ugougougoPartecipanterisolto! modificando i permalink ed impostandoli per mostrare SOLO il nome del post negli url e NON anche la data, al momento della pubblicazione di un post versione bozza il post riporterà la data della pubblicazione stessa senza legarsi obbligatoriamente a quella effettiva di creazione assegnata alla creazione originaria della bozza…Era davvero semplice… !
12 Gennaio 2012 alle 22:13 in risposta a: problema con datazione di un post da bozza a pubblicato #91742ugougougoPartecipanteProbabilmente se prima di pubblicarlo lo si salva ancora, il post prende la data corrente
ho fatto varie modifiche di stato e visibilita del post con cui faccio test…non cambia nulla…mmm…
La prova a plugin disattivati e con il tema di base andrebbe sempre fatta in casi come questo
si ci avevo pensato…ma essendoci un framework di mezzo non sapevo se potesse essere un test utile…Però pensandoci bene se accendo il tema di base immagino che il framework non venga più interpellato…e quindi lo escluderei…dico giusto?
mi sorge un dubbio: vedo che il blog è impostato con permalink che riportano la data di creazione…potrebbe essere li il problema? il database magari non cambia la data reale di creazione perchè la usa al momento della creazione della bozza per inserirla e registrarla nelle tabelle del DB…quindi ogni modifica di stato successiva non riscriverà la data…
-
AutorePost