WordPress.org

Support

Support » How-To and Troubleshooting » cannot figure out how to remove site title..

cannot figure out how to remove site title..

  • I can usually find these things in the themes and comment them out if the theme does not offer it directly…

    I want the title and tagline to NOT display in the header, but to still be read by search engines.

    site is: http://www.radbrains.com

    I have found this in the header.php file:

    <head>
            <meta charset="UTF-8" />
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <meta name="description" content="<?php $site_description= get_bloginfo('description', 'display'); echo $site_description; ?>">
            <meta name="author" content="<?php echo get_bloginfo('name'); ?>">
            <title><?php
            global $wordstrap_theme_options, $page, $paged;
    
            // Add wp_title ()
            wp_title( '|', true, 'right' );
    
            // Add a page number if necessary:
            if ($paged >= 2 || $page >= 2)
                echo ' | ' . sprintf(__('Page %s', 'wordstrap'), max($paged, $page));
            ?></title>

    But I am not sure if this is the right section of code to mess with…Is it and how do I do it?

Viewing 1 replies (of 1 total)
  • nvm.. I foudn it. It was in another file called “part_header.php” the theme is called wordstrap FYI and this is the code

    <hgroup class="ws-site-title">
                            <h1 id="site-title"><span><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
                            <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
                        </hgroup>

    comment it out and you are good to go…

    One final question though…Since it still shows the title at the top of my browser window. Search engines will see it right?

    [ moderator: please don’t bump ]

Viewing 1 replies (of 1 total)
  • The topic ‘cannot figure out how to remove site title..’ is closed to new replies.