Risposte nei forum create
-
AutorePost
-
ruryuauaPartecipante
Rispolvero questo post perché ho di nuovo problemi con il tema wp sul http://www.unbuconellalcool.com
1) Con firefox è tutto ok, ma se provo ad aprirlo con Google Chrome il menu orizzontale collassa dietro ai post e le voci non sono più cliccabili.
2) Attualmente il blog è collegato alla fanpage di fb (http://www.facebook.com/pages/Un-buco-nellalcool/104545902956097 )tramite plugin, ma non ho capito se ho inserito bene i meta per l’opengraph (scusate se mi esprimo male ma a stento so di cosa sto parlando ). Quando provo a inserire questo codice per poter visualizzare i mi piace ai singoli post mi dice che c’è un errore e in più i meta title e description sono duplicati.
<meta property=â€og:url†content=â€<?php
if(is_single()){
the_permalink(); }
else { echo get_option(‘home’); }; ?>â€/>
<?php if (is_single()) { ?>
<meta property=â€og:title†content=â€<?php single_post_title(); ?>†/>
<meta property=â€og:description†content=â€<?php echo substr(strip_tags($post->post_content), 0, 140).’ […]‘;?> †/>
<meta property=â€og:type†content=â€article†/>
<?php } else { ?>
<meta property=â€og:description†content=â€<?php bloginfo(‘description’); ?>†/>
<meta property=â€og:type†content=â€blog†/>
<meta property=â€og:title†content=â€<?php bloginfo(‘name’); ?>†/>
<?php }; ?>
Questi sono i problemi di cui mi sono accorta io… considerando che non ne capisco molto e procedo per tentativi, se avete altre cose da segnalare vi supplico di farlo!!! Grazie!
ruryuauaPartecipanteche stupida, era tra le opzioni di lettura! Non so come ringraziarti… ora sembra tutto ok
ruryuauaPartecipanteHo usato la seconda opzione, avendo capito poco della prima e finalmente ora funziona!
Puoi risolvermi l’ultimo dubbio? Come faccio a far comparire nella home 6 post invece di 4? Grazie!!!
ruryuauaPartecipantemi sono appena accorta che mettendo heigt:300; modifica la lunghezza del post completo, ossia il riquadro che appare dopo aver premuto leggi tutto.
ruryuauaPartecipanteho fatto come mi hai detto, ma non cambia nulla, credo che la lunghezza del rettangolo sia legata a quella dell’excerpt che è di 50 parole… è possibile?
ruryuauaPartecipanteGrazie torejx, il problema dell’header è risolto… invece per quanto riguarda la lunghezza dei post niente…
ruryuauaPartecipantesono riuscita a risolvere il problema del Read More, ma per gli altri due ancora niente… non c’è nessuno che può aiutarmi?
-
AutorePost