Buonasera.
Vi scrivo per chiedervi se fosse possibile quando si estrae il titolo di un articolo o di una pagina modificare la funzione cosଠda riuscire a prelevare la prima parola e aggiungerci uno stile diverso rispetto alle altre presente nello stesso titolo.
Es:
questo è il mio titolo -> Io vorrei poter estrarre la prima parola, in questo caso questo e assegnargli un codice tipo <span class=”red”>questo</span>.
Se si può fare qualcuno gentilmente potrebbe suggerirmi come, magari postando qualche riga di codice??
Grazie