Home › Forum › Problemi Vari con WP › Tagliare il testo troppo lungo
-
AutorePost
-
-
1 Agosto 2005 alle 14:14 #304ganzPartecipante
ciao, è possibile ad esempio poter tagliare in 2 un testo molto lungo ad esempio da visualizzare in home page? ciao
-
1 Agosto 2005 alle 16:31 #33608SteveAglAmministratore del forum
quando scrivi il post, se è troppo lungo lo puoi spezzare usando il tasto MORE, che ti crea un link del tipo “Continua”
-
1 Agosto 2005 alle 19:29 #33609ganzPartecipante
grazie mille!! ciao
-
1 Ottobre 2005 alle 13:59 #34348sasaxPartecipante
come si traduce (more…) in (continua…)?
sasax
-
1 Ottobre 2005 alle 14:50 #34350SteveAglAmministratore del forum
In che senso “Come si traduce?” Dove lo vuoi tradurre?
-
1 Ottobre 2005 alle 15:31 #34353sasaxPartecipante
forse mi sono espresso male:
quando inserisci il more, ti compare alla fine del post (more…)
vorrei modificare il link (more…) in (continua…)
come faccio?
grazie
-
1 Ottobre 2005 alle 15:42 #34354SteveAglAmministratore del forum
Allora, il “more” compare in tre posti diversi:
1) Nell’Admin, proprio sopra la textarea di scrittura dell’articolo, tra i Quicktags, ed è proprio il bottone. Questo lo puoi tradurre, cambiando il testo nel file
wp-admin/quicktags.js
, ma è meglio lasciarlo cosà¬.2) Se clicchi il bottone che abbiamo appena detto, ti inserisce nel campo di testo che stai scrivendo, il tag
<!--more-->
. Questo conviene proprio non toccarlo altrimenti WP non riesce più a gestire i post.3) Nei post, nella parte pubblica del sito: vale a dire il link che ci clicchi sopra e ti fa leggere il resto dell’articolo. Questo si può tradurre. Si va nella cartella del tema installato e si aprono i vari file, alla ricerca di qualcosa tipo
<?php the_content('Read the rest of this entry »'); ?>
La parte
Read the rest of this entry »
si può personalizzare come si vuole. Puoi tradurla cosà¬:<?php the_content('Continua...'); ?>
<?php the_content('Continua a leggere...'); ?>
<?php the_content('Ma che leggi a fare?'); ?>
eccetera eccetera…
-
1 Ottobre 2005 alle 17:40 #34367sasaxPartecipante
yessss
per chi legge questo post alcuni temi potrebbero non avere
Read the rest of this entry »
ma solo
<?php the_content(); ?>
in quel caso la cosa da fare è la stessa che suggerisce mr e cioè
<?php the_content('continua a leggere...'); ?>
sasax
-
2 Ottobre 2005 alle 10:35 #34374SteveAglAmministratore del forum
Ottima precisazione
-
13 Ottobre 2006 alle 17:10 #40650web973Partecipante
Visto che siamo in tema, cosa devo modificare o meglio quale riga mi permette di tradurre la voce “Older” e
“Newer”ossia le funzioni per accedere alle altre pagine del blog?
Grazie
-
18 Agosto 2009 alle 7:12 #67729ravenPartecipante
è possibile fare in modo che gli articoli vengano troncati (cioè venga inserito automaticamente il more) dopo un tot di caratteri?
-
18 Agosto 2009 alle 9:19 #67732SteveAglAmministratore del forum
http://wordpress.org/extend/plugins/advanced-excerpt/
se il tema usa the_excerpt oppure:
http://wordpress.org/extend/plugins/content-and-excerpt-word-limit/
-
18 Agosto 2009 alle 15:37 #67740ravenPartecipante
perfetto era quel che cercavo..grazie mille
-
28 Dicembre 2009 alle 15:25 #70321MisticusPartecipante
E se io volessi che la scritta (More o qualsiasi sia) sia allineata a destra?
Grazie.
-
28 Dicembre 2009 alle 22:01 #70327babenePartecipante
io provo a cercare the content e the excpert ma poi cosa devo fare per abbreviare il post nella index?
-
29 Dicembre 2009 alle 15:28 #70338gollum1Partecipante
-
-
AutorePost
- Il topic ‘Tagliare il testo troppo lungo’ è chiuso a nuove risposte.