Home › Forum › Problemi Vari con WP › Aiuto sto impazzendo! Problemi con tags
-
AutorePost
-
-
9 Agosto 2009 alle 14:53 #11271claudio0000Partecipante
Salve, come posso ottenere un risultato simile a questo?
http://i32.tinypic.com/2a69z5j.png
Inoltre vorrei sapere un modo per ridurre i post a 6 nella homepage e come far andare più veloce wp. grazie mille
-
10 Agosto 2009 alle 12:03 #67584SteveAglAmministratore del forum
1) Lavrando sul css e sull’HTML del tema… anche se non si capisce cosa vorrebbe dire come questo
2) Cambiando Il Loop di WP nella index.php del tuo tema (vedi il loop sul wiki) cambiando il numero di post da visualizzare inserendo prima del loop un
query_posts(‘showposts=6’);
3) Far andare veloce WP che vuol dire?
PS ho risposto ad un UP che ho cancellato… di solito li cancello e se rispondo lo faccio non prima di uno o due giorni dopo… ma siamo in ferie e siamo tutti più buoni.. la prossima volta però.. ciccia.
-
10 Agosto 2009 alle 12:05 #67585claudio0000Partecipante
grazie mille, quale sarebbe il codice da mettere nel loop? Inoltre vorrei sapere se i tags li metterebbe in automatico o vanno messi di volta in volta nel codice. Per farlo andare più veloce andrebbe bene wp cache? grazie mille di nuovo
-
10 Agosto 2009 alle 12:06 #67586claudio0000Partecipante
grazie mille, quale sarebbe il codice da mettere nel loop? Inoltre vorrei sapere se i tags li metterebbe in automatico o vanno messi di volta in volta nel codice. Per farlo andare più veloce andrebbe bene wp cache? grazie mille di nuovo
il codice da mettere nel loop per fare apparire le tags e i topics sotto il titolo del post
-
10 Agosto 2009 alle 12:06 #67587macavanziPartecipante
Ti ha già risposto Steve, ops
-
10 Agosto 2009 alle 12:08 #67589claudio0000Partecipante
nel link avevo messo un esempio del risultato che vorrei ottenere, ovvero mettere i topics e i tags sotto il titolo del post. Ringrazio tutti ancora
-
10 Agosto 2009 alle 12:11 #67588SteveAglAmministratore del forum
I tag dei template li trovi nel wiki, suggerisco tu legga prima anatomia di un tema wordpress per capire come è fatto un tema, perchè non è possibile dare codice generico non sapendo come è fatto il codice del tuo tema (e no non postare qui duemila righe di codice della tua index.php).
Inoltre dipende da quanto ci capisci non solo di PHP che potrebbe esere poco ma di HTML e CSS perchè dovrai agire su quel fronte per stilizzarlo in quel modo.
-
10 Agosto 2009 alle 12:13 #67590claudio0000Partecipante
ho il tema prosense blue
-
10 Agosto 2009 alle 12:19 #67591claudio0000Partecipante
cioè non esiste un modo automatico che mi prenda le tag che metto nell’ articolo e me le mette in automatico sotto il post?
capito, grazie. Avrei trovato questo codice, ma dove cavolo lo devo inserire? <?php the_tags(‘before’, ‘separator’, ‘after’); ?>
Grazie a tutti
-
10 Agosto 2009 alle 12:26 #67592degraPartecipante
sà¬, esiste. come ti ha detto Steve, leggi la disezione di un tema sul wiki e imparerai dove inserire le varie funzioni per ottenere ciò che preferisci.
(Per non confondersi: tag è usato sia per indicare ciò che intendi tu, sia i marcatori di wordpress.)
Evita di rispondere ai tuoi stessi post, altrimenti ti vine chiuso il topic per troppi “up”. Se vuoi aggiungere qualcosa edita l’ultimo commento.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.