Question on WP

batkras

Regular Member
Joined
Nov 7, 2009
Messages
201
Reaction score
11
Hi,I have made logo for my website ( a simple jpg,or png image),my question is how to upload it to my wp website.
 
just replace your current logo with the one you created. wordpress should display it in logo spot. if the logo you created is a different file type than your current logo this wont work. let me know if you need more help
 
<!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 wp_title(''); ?><?php if(wp_title('', false)) { echo ' |'; } ?> <?php bloginfo('name'); ?></title>

<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" />
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/lt-ie7.css" type="text/css" media="screen" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/lte-ie7.css" type="text/css" media="screen" />
<![endif]-->
<!-- custom style-sheet -->
<?php if ( file_exists( dirname( __FILE__ ) . '/custom-style.css' ) ) : ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/custom-style.css" type="text/css" media="screen" />
<?php endif; ?>

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="Shortcut Icon" href="<?php bloginfo('template_url'); ?>/images/favicon.ico" type="image/x-icon" />

<!--we need this for plugins-->
<?php wp_head(); ?>
</head>

<body>

<div id="toptag">
<?php bloginfo('description'); ?>
</div>

<div id="header">

<div id="title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
<!--<div id="tagline"><?php bloginfo('description'); ?></div>-->

<ul id="menu">
<li class="<?php if (is_home()) { echo "current_page_item"; } ?>"><a href="<?php echo get_settings('home'); ?>/">Home</a></li>
<?php //Lists pages (only parents) with no title ?>
<?php wp_list_pages('title_li=&depth=1'); ?>
</ul>
</div>

<div id="container" class="clearfix">
<div id="wrap" class="clearfix">

<!--header.php end-->

this is the header.php of my default theme

I have uploaded the logo on imageshack and this is its link: http://yfrog.com/56logo300jj
 
There is no logo on the theme currently, right? If there is it is being pulled from the css file.

If that is the case, then make sure that your new logo has the same dimensions as the existing logo. (I'm assuming that this is a wp blog.) To add your new logo go to the admin dashboard and click on 'Media' in the left menu, then click 'Add New'. Upload your new logo there and make a note of the full url of the uploaded image.

If you have an existing logo then go to the theme editor and open the css file. Look for the logo being called in there, then replace the path with the full path to the newly uploaded logo.

If there is no logo at present, then edit your header file. I would suggest that you start by taking out all the code between brackets where it has bloginfo('name') and put the full url of your uploaded logo in there instead, using the img src code. You will have to play around with that to get it to look right.
 
Back
Top