(Plugin) Icon needed beside the post title [closed]

This can be done easily by using the filter the_title. Below is the custom code which you can use in your theme’s functions.php file.

function new_title( $title ) {
    $new_title="nic " . $title;
    return $new_title;
}
add_filter( 'the_title', 'new_title' );

The above will add “nic” prior to post title.

Similarly you can use the icon image in place of the text ‘nic’ and style accordingly to achieve what you are looking for.

Hope it helps!
Thanks

error code: 523