Forums

Trying to get Header to appear like wordpress.com blogs (6 posts)

  1. 5starhiphop
    Member
    Posted 1 year ago #

    Hi, my blog is http://www.5starhiphop.com. I am trying to edit the header to look like a wordpress.com blogin the header/google.

    Here is what I mean:
    Name of post << Name of blog

    Mine is like this 5STARHIPHOP.COM >> name of post

    actually, it looks retarded this very moment, because I am trying to modify it.

    Here is an example of what I mean
    http://harismibrahim.wordpress.com/2008/09/19/petition-to-free-rpk-teresa-all-isa-detainees/

    Here is my header. I already took out the raquo part, which has the other ">>", but these 2 are still there:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title> <?php wp_title(); ?> <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> <?php } ?></title>
    <meta name="description" content="Your favorite Source for the newest 5 Star Hip Hop, R&B, Rap, Reggae, and Pop Singles & Mixtapes Everyday!! - http://WWW.5STARHIPHOP.COM"; />

    SO...any help is appreciated

    Thanks!

  2. jleuze
    Member
    Posted 1 year ago #

    You could try an SEO plugin like Headspace, that might be the easiest way to edit your titles.

  3. 5starhiphop
    Member
    Posted 1 year ago #

    i tried that plugin and i didnt see any option to edit it

    anyone else?

  4. jleuze
    Member
    Posted 1 year ago #

    From the screenshots, it sure looks like you can edit titles. Look at the "Configuration" section of the HeadSpace page.

    You might need to enable it or something.

    I'm sure that All in One SEO could do this too.

  5. 5starhiphop
    Member
    Posted 1 year ago #

    I am not trying to edit the title. If you go to any link on my website, you can see there is a >> when you read an individual article.

  6. jleuze
    Member
    Posted 1 year ago #

    I think you are misunderstanding me because of the terminology.

    You said you want to "edit the header" of you website, in WordPress, this is the header of a site. Or do you mean just that you are editing your header.php file?

    And "title" can be a misleading name. I am not referring to your Post or Page title, but the actual HTML title that appears in the top bar of your web browser, and as the link your your website in Google.

    This is the title that that you are trying to edit correct?

    Here is a copy of the title code from a theme called K2, it has comments added, so it is easier to read and edit. I modified it to use a "<<" in the title.

    <title><?php
    
    	// Page or Single Post
    	if ( is_page() or is_single() ) {
    		the_title();
    
    	// Category Archive
    	} elseif ( is_category() ) {
    		printf( __('Category Archive for &lsquo;%s&rsquo;',' '), single_cat_title('', false) );
    
    	// Tag Archive
    	} elseif ( function_exists('is_tag') and function_exists('single_tag_title') and is_tag() ) {
    		printf( __('Tag Archive for &lsquo;%s&rsquo;',' '), single_tag_title('', false) );
    
    	// General Archive
    	} elseif ( is_archive() ) {
    		printf( __('%s Archive',' '), wp_title('', false) );
    
    	// Search Results
    	} elseif ( is_search() ) {
    		printf( __('Search Results for &lsquo;%s&rsquo;',' '), attribute_escape(get_search_query()) );
    	}
    
    	// Insert separator for the titles above
    	if ( !is_home() and !is_404() ) {
    		_e(' &laquo; ',' ');
    	}
    
    	// Finally the blog name
    	bloginfo('name');
    
    	?></title>

    Maybe it will work for you.

    Oh, it's great to see that your website is not only powered by WordPress, but also by Hope!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.