• Resolved coupee36

    (@coupee36)


    Hey everyone,

    I am using the current “decayed-wordpress-theme” . I have searched and found a few posts on what to edit in the header and style file, but none helped me. I was able to get the correct size, but logo never appeared instead i had the ” ;? ” appear.

    anyhow this is what my header file looks like right now (default) :

    [code blocks removed - please use http://wordpress.pastebin.com as per the forum guidlines]
    could someone please point me in the right direction on how to replace the site title text, with a logo image?

    thank you kindly!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Replace this:

    <h1 id="site-title"><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>

    with

    <h1 id="site-title"><a href="<?php bloginfo('url'); ?>/"><img name="logo" src="../images/logo.jpg" width="100" height="32" alt="<?php bloginfo('name'); ?>"></a></h1>

    width and height needs to match the size of your logo and ../images with the source where this logo was uploaded.

    Thread Starter coupee36

    (@coupee36)

    Emil,

    I tried the code you mention, replaced set the hieght/width and changed the src, but still nothing. any suggestions ?

    thanks.

    please post your URL here and keep the changes you made.

    Thanks

    Thread Starter coupee36

    (@coupee36)

    url : http://www.virolent.tv

    <!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">
    
    <head profile="http://gmpg.org/xfn/11">
    
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php bloginfo('name'); ?><?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?><?php wp_title(' &raquo; '); ?></title>
    <meta name="resource-type" content="document" />
    <meta http-equiv="content-type" content="text/html; charset=US-ASCII" />
    <meta http-equiv="content-language" content="en-us" />
    <meta http-equiv="author" content="Harriet Smith" />
    <meta http-equiv="contact" content="harrietsmith@harrietsmith.us" />
    <meta name="copyright" content="Copyright (c)2010-2011
    Stephanus Malaihollo. All Rights Reserved." />
    <meta name="description" content="Celebrity gossip, rumors and news.  Entertainment blogs." />
    <meta name="keywords" content="virolenttv, virolent.tv,hiphop, skateboarding, rumor, gossip, entertainment, virolent, virolenttv, new-s, celebrity, nedia, hip-hop, rap, media, celebrity gossip, celebrity news, hollywood gossip, hollywood news, fashion, hollywood fashion, celbrity blog" />
    
     <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php wp_get_archives('type=monthly&format=link'); ?>
    
    <?php wp_head(); ?>
    
    </head>
    
    <body>
    
    <div id="container">
    
    <div id="content">
    
    	<h1 id="site-title"><a href="<?php bloginfo('url'); ?>/"><img name="logo" src="imag/logo.gif" width="392" height="262" alt="<?php bloginfo('name'); ?>"></a></h1>
    
    	<p id="site-description"><?php bloginfo('description'); ?></p>

    thanks.

    Let me check this out. For future posts if you have long codes like that, please use http://wordpress.pastebin.com

    ok, simple

    <img name="logo" width="392" height="262" alt="" src="imag/logo.gif"/>

    your logo.gif doesn’t lead anywhere. It should be like:

    <h1 id="site-title"><a href="<?php bloginfo('url'); ?>/"><img name="logo" src="<?php bloginfo('url'); ?>/images/logo.jpg" width="100" height="32" alt="<?php bloginfo('name'); ?>"></a></h1>

    Just make sure that you know the link where the logo is uploaded.

    Thread Starter coupee36

    (@coupee36)

    oh ok..

    still a no go ? I even typed in the full path to the logo.gif.

    <h1 id="site-title"><a href="<?php bloginfo('url'); ?>/"><img name="logo" src="<?php bloginfo('url'); ?>http://www.virolent.tv/wp-content/themes/decayed-wordpress-theme/img/logo.gif" width="100" height="32" alt="<?php bloginfo('name'); ?>"></a></h1>

    I am sorry if it seems so simple, and i am missing it.. I do kindly thank you to take the time to help me out with this.

    try this:

    <h1 id="site-title"><a href="<?php bloginfo('url'); ?>/"><img name="logo" src="http://www.virolent.tv/wp-content/themes/decayed-wordpress-theme/img/logo.gif" width="100" height="32" alt="<?php bloginfo('name'); ?>"></a></h1>

    you had <?php bloginfo(‘url’); ?> which is actually http://www.virolent.tv that part was not needed, but go with above code and it will work.

    and I see that your logo is working now, if you don’t need further assistance with this topic, please hit the [resolved] from your end.

    Cheers,
    Emil

    Thread Starter coupee36

    (@coupee36)

    works GREAT!! thank you once again for all your help..

    have a great 2011

    Great 2011 to you to and you are welcome. Please make this topic resolved, so that we don’t jump into something that was solved.

    Anything else in future feel free to ask, there’re many great people around here.

    Emil

    Great 2011 to you too I can’t spell right 🙂

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘HELP: replace Site Title text with Logo ??’ is closed to new replies.