how to customise the wordpress description

58 Views Asked by At

Hi everyone would like to ask if it is possible to customise the WordPress description.

For example on my local site the description is Blah | Blah | Blah

Is it possible to have each "blah" a different colour using code or would I be have to write out a new block of code instead of using

 <?php bloginfo('description');?>
1

There are 1 best solutions below

3
On BEST ANSWER

As mentioned above, you can use html code in the description(which will have classes to style) and display it using this:

<?php echo html_entity_decode(get_bloginfo('description')); ?>

Ref: https://css-tricks.com/forums/topic/allowing-html-tags-in-the-site-description-in-wordpress/