The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

cannot figure out how to remove site title.. (2 posts)

  1. deltaskelta
    Posted 4 years ago #

    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:

            <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'); ?>">
            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));

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

  2. deltaskelta
    Posted 4 years ago #

    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>

    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 ]

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.