• Resolved SingingTurnip

    (@ghoststorm)


    I have just updated Hueman and it now has my site title followed by the word “Blog” just above the featured slider on the front page.

    I would like to remove that please, can someone tell me how to do it?

    I did it in a previous version but totally forgot how.

    URL: https://ghoststorm.co.uk

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi, GhostStorm. In the init-front.php (wp-content/themes/hueman/functions)

    return sprintf(‘%1$s <span class=”hu-blog-subheading”>%2$s</span>

    change to

    return sprintf(‘%1$s <span class=”hu-blog-subheading”></span>

    nikeo, pls fix this in the next update

    Thread Starter SingingTurnip

    (@ghoststorm)

    Can this be done in a child theme?

    The subheading is controlled by this option:

    Customize > Content > Blog Design > Blog Sub-Heading

    If that’s empty then the default is to add “BLOG” to the page title.
    You can also hide it using css:

    .hu-blog-subheading {
      display: none;
    }

    If you want to change the line that generates the title you could copy this function to your child theme functions.php file and change it there:

    function hu_blog_title() {
      $heading    =  wp_kses_post( hu_get_option('blog-heading') );
      $heading    = $heading ? $heading : get_bloginfo('name');
      $subheading =  wp_kses_post( hu_get_option('blog-subheading') );
      $subheading = $subheading ? $subheading : __('Blog', 'hueman');
    
      return sprintf('%1$s <span class="hu-blog-subheading">%2$s</span>',
        $heading,
        $subheading
      );
    }
    Thread Starter SingingTurnip

    (@ghoststorm)

    I don’t want any text there that’s what I’m saying:)

    I don’t want it to say ‘GhostStorm News Blog’ or anything I just want it to be the featured slider at the top, like I had before this update.

    Do I need to provide an image of what I’m wanting or do you understand?

    Try:

    .page-title {
      display: none;
    }
    Thread Starter SingingTurnip

    (@ghoststorm)

    Spot on, thanks ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Removing "Blog" and site title’ is closed to new replies.