Use font awesome in blog subheading?
-
I used to have font awesome icons in my subheading. For this I added a functions.php to my child theme with below code, but since the hueman update this doesn’t work anymore.
function alx_blog_title() { global $post; $heading = esc_attr( ot_get_option('blog-heading') ); $subheading = ot_get_option('blog-subheading'); if($heading) { $title = $heading; } else { $title = get_bloginfo('name'); } if($subheading) { $title = $title.' <span>'.$subheading.'</span>'; } return $title; }
Any help would be appreciated!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Use font awesome in blog subheading?’ is closed to new replies.