Sometimes we need to use shortcodes in the widgets or comments. One example of using shortcode in the Widget is to create a different style to specific word in the Widget Title, by putting the word in the
span tag. This
span then later given a different style via CSS. Example is below.