Avete bisogno di sottolineare o giustificare il testo in WordPress?
WordPress disponeva di pulsanti per giustificare e sottolineare il testo nell’editor visuale. Tuttavia, sono stati rimossi e non sono più disponibili.
In questo articolo vi mostreremo come aggiungere pulsanti di testo sottolineati e giustificati in WordPress.
Perché aggiungere pulsanti di testo sottolineati e giustificati in WordPress?
Volete ripristinare i pulsanti di sottolineatura e giustificazione mancanti durante la modifica di post e pagine sul vostro sito WordPress? Questi pulsanti sono stati rimossi dall’editor dei post in WordPress 4.7, ma fortunatamente c’è un modo per riportarli.
Tuttavia, ci sono alcuni motivi per cui dovreste considerare di non sottolineare e giustificare il testo sul vostro sito web.
Innanzitutto, il testo sottolineato può sembrare un link e gli utenti possono sentirsi frustrati quando quello che pensano sia un link non funziona. Inoltre, il testo giustificato può rendere i contenuti più difficili da leggere, soprattutto su schermi piccoli.
Detto questo, vediamo come aggiungere pulsanti di sottolineatura e giustificazione del testo in WordPress. Vi mostreremo come farlo per l’editor a blocchi e per quello classico. Vi mostreremo anche come sottolineare e giustificare il testo utilizzando le scorciatoie da tastiera, senza bisogno di un pulsante.
- Sottolineare e giustificare il testo usando le scorciatoie da tastiera
- Aggiunta dei pulsanti Sottolinea e Giustifica testo all’editor a blocchi
- Aggiunta dei pulsanti di sottolineatura e giustificazione del testo all’editor classico
Sottolineare e giustificare il testo usando le scorciatoie da tastiera
Per sottolineare o giustificare il testo in WordPress non è necessario un plugin o le icone della barra degli strumenti. È sufficiente utilizzare una scorciatoia da tastiera.
Per sottolineare il testo, basta selezionare il testo che si desidera sottolineare in WordPress e premere Ctrl+U su Windows o Command+U su Mac. Tutto qui. Questa scorciatoia da tastiera funziona sia con l’editor a blocchi che con quello classico.
Esiste un’altra scorciatoia da tastiera per giustificare il testo. È sufficiente selezionare il testo e premere Maiusc+Alt+J in Windows o Comando+Opzione+J in Mac per giustificare il testo.
Tuttavia, la combinazione di tasti per giustificare il testo funziona solo con l’editor classico. Se si utilizza l’editor a blocchi, non sarà possibile giustificare il testo con una scorciatoia da tastiera e si dovrà utilizzare il metodo del plugin riportato di seguito.
Aggiunta dei pulsanti Sottolinea e Giustifica testo all’editor di blocchi
Per prima cosa, è necessario installare e attivare il plugin Gutenberg Block Editor Toolkit – EditorsKit. Per maggiori dettagli, consultate la nostra guida passo passo su come installare un plugin di WordPress.
Dopo l’attivazione, il plugin renderà disponibili le funzioni di sottolineatura, giustificazione e altre funzioni di formattazione quando si utilizza l’editor di blocchi di WordPress.
Queste icone aggiuntive non possono essere aggiunte direttamente alla barra degli strumenti dell’editor di blocchi, ma si possono trovare le opzioni aggiuntive facendo clic sulla freccia verso il basso “Visualizza altri strumenti di blocco” nella barra degli strumenti.
Per sottolineare il testo, è necessario prima selezionarlo, poi fare clic sulla freccia verso il basso “Visualizza altri strumenti di blocco” e quindi fare clic su “Sottolinea” dal menu a discesa.
Per giustificare un paragrafo, assicurarsi innanzitutto che il cursore si trovi in quel paragrafo. Quindi fare clic sulla freccia verso il basso “Visualizza altri strumenti di blocco” e selezionare “Giustifica” dal menu a discesa.
Aggiunta dei pulsanti Sottolinea e Giustifica testo all’editor classico
Se si utilizza l’editor classico, si dovrebbe iniziare installando e attivando il plugin Advanced Editor Tools. Per maggiori dettagli, consultate la nostra guida passo passo su come installare un plugin di WordPress.
Dopo l’attivazione, è necessario andare su Impostazioni ” Strumenti dell’editor avanzato (TinyMCE Advanced) nel menu di amministrazione. Successivamente, è necessario fare clic sulla scheda “Editor classico (TinyMCE)” nella parte superiore della pagina.
Si noterà un’anteprima dell’editor classico di WordPress. Sotto l’anteprima, verranno mostrati tutti i pulsanti non utilizzati.
Ora è necessario trascinare e rilasciare i pulsanti di sottolineatura e giustificazione del testo dalla casella “Pulsanti non utilizzati” all’editor del post.
Al termine, fare clic sul pulsante “Salva modifiche” nella parte superiore della schermata per memorizzare le nuove impostazioni.
Ora, quando si crea o si modifica un post o una pagina del blog WordPress, i nuovi pulsanti di formattazione saranno disponibili nella barra degli strumenti dell’editor classico.
Speriamo che questo tutorial vi abbia aiutato a imparare come aggiungere pulsanti di testo sottolineati e giustificati in WordPress. Potreste anche voler scoprire perché WordPress è gratuito, oppure consultare il nostro elenco di plugin indispensabili per far crescere il vostro sito.
Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Jiří Vaněk says
Does text alignment using ‘justify’ have any impact on a website’s content ranking, for instance by Google? Or is it just that it might create unnatural gaps in the text for some people? I’m wondering if using ‘justify’ could affect content evaluation in any way. Personally, I don’t use justify, but sometimes website owners request it.
WPBeginner Support says
Using Justify should not affect your site’s rankings and it is used by some sites to prevent an unnatural look depending on the theme that the site uses.
Admin
The Venetian Box says
GREAT POST!!!! You helped me SO much, thank you!!!
WPBeginner Support says
You’re welcome, glad you like our content
Admin
Achraf NAJIH says
It worked. Thanks.
Crina Caba says
You answered my question… Thank you.
Darrin says
How to add justify without plugin ?
any idea ?
thanks
mourad says
Thank you so much for the help
Reinette says
Thank you so much! TinyMCE is a super little plugin and I love what it’s done for my text editor.
Again, thank you!
Robert Lindquist says
Thank you very much!!
Ajay says
Thank You So much
Darren says
Thanks for this! It has been driving me crazy!
Gibran Dimasagung says
Thanks bro
Sally Eilers says
….signalling the demise of WordPress.
James says
This doesn’t work on my blog. When I click plugins I go to ‘Jetpack by WordPress.com’ and there is nothing there similar to what you are talking about!!!!
Aayush Bhaskar says
You must be going to Site Dashboard instead of going to Network Admin Area. Click on the Home Icon and Select Network Admin>plugins. There will be Add new, Network Activate etc options available.
chandrashekhar says
Thank man ! it was of great help
Sampath S says
Alternately, you can just use keyboard shortcuts:
Justify alignment – Alt +Shift +J
Underline – Ctrl+U
David says
Thank you. This is a simple solution. I don’t need more plugins on my site.
Leslie says
Thank you so much for this simple solution! No need to mess with plugins!!!
Dipo Putra says
Question is, Why they remove it?
HARISH NEGI says
Thank You very much. Solved my Problem.
Joey Bangun says
Thanks so much!
from Indonesia
Praboda Madushan says
Thank you very much!
Sharyn Wise says
You are an amazing WONDERFUL stupendously great FANTASTIC person!
I have just discovered these had gone missing!
THANK YOU!
David says
A very handy and helpful little tip… Thank you!
Sarah says
Don’t really need a plugin for that. In Mac Ctrl+Alt+J and text justified,
But why wordpress decided to remove the icon from the menu ?
nadia says
Thank you so much! I added the Re-add Text Underline and Justify plugin and it worked perfectly.
WPBeginner Support says
Hi nadia,
Glad you found it helpful Don’t forget to follow us on Facebook for more WordPress tips and tutorials.
Admin
A says
For me, this helped:
Select the text you wish to justify (ctrl+A)
Press Shift+Alt+J
And wordpress then justifies the text!
Amrit Singh says
You’re the real mvp. thanks for the trick
Aldo Retana says
This was more useful, thanks!
Richmond says
Yes!, You are the real MVP. Awesome
Thomas says
Why did they remove the option to justify or underline text anyway? Was it causing issues somewhere along the line?
Harpreet Kumar says
Realy an awesome article
louis says
Good! It’s interesting. Under certain conditions, this may be useful!
On the other hand, I think the underlining should be avoided in all web documents except for creating hyperlinks. This can sometimes cause confusion given the hyperlinks. As for the justification function of the text, this very often gives unexpected results.
It is not for nothing that these two options have been eliminated. Use with parsimony in VERY rare conditions.
Sorry about my poor english.