How to display category on top header of the single post instead of ‘Blog’

Support Forums for LiveMesh Themes & Plugins Forums Appdev Theme Support How to display category on top header of the single post instead of ‘Blog’

Tagged: ,

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3908
    Raghavendra
    Moderator

    To display the category name of the single blog post on the top header instead of just showing ‘Blog’, pls modify the line number 554 of {theme folder}/framework/functions/utility-functions.php file to –

        elseif (is_singular('post')) {
            $category = get_the_category();
            echo '

    ' . $category[0]->cat_name . '

    '; /*echo '

    ' . $tagline . '

    ';*/ }

    You can override the function mo_populate_tagline() with the above change in the child theme functions.php as well if you do not want to modify the core files of the theme.

Viewing 1 post (of 1 total)
  • The forum ‘Appdev Theme Support’ is closed to new topics and replies.