Risposte nei forum create
-
AutorePost
-
alessandro85Partecipante
na.. non collega a nessuna categoria quello. Ame servirebbe solo un modo per dividere l’elenco di due categorie in una sola pagina con titolo
alessandro85Partecipante<?php if ( in_category(6) || in_category (38) || in_category (18) ) {
echo ‘<div class=”vignetta-photos”>
</div>’;
} else {
echo ‘<div class=”vignetta”>
</div>’;
}
?>
ho inserito questo e tutto bene.. ora ho una modifica di un paio di div in base alla categoria.
Volevo però eliminare la navigation bar sopra per le categorie 6,38,18 e mi da errore quando provo a inserire questo div. Probabilmente perchè contiene linguaggio php.
<?php if ( in_category(6) || in_category (38) || in_category (18) ) {
echo ‘<div class=”vignetta-photos”>
</div>’;
} else {
echo ‘<div class=”vignetta”>
</div><div class=”navigation_top”>
<div class=”alignleft”><?php previous_post_link(‘« %link’) ?></div>
<div class=”alignright”><?php next_post_link(‘%link »’) ?></div>
</div>’;
}
?>
Come la posso risolvere?
8 Ottobre 2008 alle 20:37 in risposta a: Archivio cat.. inserire articoli interi al posto dell’elenco dei titoli #58431alessandro85Partecipantegrandioso funziona.. grazie
alessandro85Partecipantenono.. nessun nuovo tema.
Essenzialmente mi è sparito e basta.
Ho reistallato wp e ho trasferito il tutto.
Ora è andato a posto e ancora mi chiedo come è potuto sparire.
alessandro85Partecipantebasta fare come me che mi tengo la 2,5
10 Luglio 2008 alle 16:20 in risposta a: esportare l’archivio di wordpress sulla mia homepage #55695alessandro85Partecipanteah vabbè ma il problema in questo caso è che la pagina è esterna a wordpress.
Dovrei provare a collegarmi al feed rss penso. Ma non so come fare
alessandro85Partecipanteah ok.. intendi visualizzando gli archivi per categoria. Il problema è che volevo visualizzare all’interno delle pagine archivi suddivise per categoria gli interi messaggi in fila e non sono i titoli.
ho provato ad inserire questo: <?php the_content(‘Read the rest of this entry »’); ?> in archive dietro all’archivio categoria ma non funziona
alessandro85Partecipanteok dovrei aver quasi risolto con il recent anche se mi mancano un paio di caratteristiche tipo time e riassunto.
Per l’archivio come posso fare?
20 Giugno 2008 alle 12:33 in risposta a: Includere l’ultimo topic di wordpress in una pagina esterna #54977alessandro85Partecipantea me non funge l’ultimo script.. mi dice:
Warning: main(./blog/wordpress/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /web/htdocs/www.intotheoz.com/home/test/index.php on line 29
Fatal error: main() [function.require]: Failed opening required ‘./blog/wordpress/wp-blog-header.php’ (include_path=’.:/php/lib/php/’) in /web/htdocs/www.intotheoz.com/home/test/index.php on line 29
alessandro85Partecipantesono riuscito a usare il tuo script.. yuppi ya ye.
http://www.intotheoz.com/test/
ora so che forse è impossibile ma secondo voi è fattibile inserire magari in small il time a cui è stato inserito il messaggio e sotto il riassunto non cliccabile?
p.s. se avete windows il sito si vede strano forse.. non è definitivo haha
-
AutorePost