-
▼
2012
(336)
-
▼
February
(36)
- How to Insert Anchor Text in WordPress
- How to Make a Blog Using Wordpress
- How to Install WordPress With XAMPP
- How to Import Tweets to Blog Comments in WordPress
- How to Install and Configure WordPress Blogging So...
- How to Display WordPress Posts on a Website
- How to Find Widgets in WordPress
- How to Change Deprecated Tags in WordPress
- How to Move WordPress to Root After Design
- How to Create Subdomains in WordPress MU
- How to Highlight Text on WordPress
- How to Change Uppercase Text to Upper Lowercase i...
- How to Hide Pages in WordPress
- How to Use FTP With WordPress
- How to Place a Logo in a WordPress Header
- How to Create a New WordPress PHP Page
- How To Upload a Powerpoint Presentation to WordPress
- How to Embed Audio Looping With AutoPlay in WordPress
- How to Import an External Blog Into WordPress
- How to Insert Copyright in Wordpress
- How to Install WordPress 3 Beta
- How to Transfer a Website into a Blog Using WordPress
- How to Round the Corners on My WordPress Blog
- How to Find Hidden Users on WordPress
- How to Switch From WordPress to Drupal
- How to Add Plug
- How to Make My WordPress Blog Visible to Members Only
- How to Manually Update Wordpress 2.9.1
- How to Create a WordPress Header With a Picasa Photo
- How to Install Social Sharing on a WordPress Blog
- How to Remove Advanced Cache From Wordpress
- How to Podcast with Wordpress
- How to Edit HTML in WordPress
- How to Display Emoticons in WordPress
- How to Move WordPress Tarski to Thesis
- How to Move My Blog to a WordPress Server
-
▼
February
(36)
adsense
How to Place a Logo in a WordPress Header
1. Open the 'header.php' template file from the folder containing all the files for your current WordPress theme. You can find this folder by navigating to the main folder of your website and double-clicking on 'wp-contents' and then 'themes.'
2. Place an
tag in the code where you want the logo to display. You can put it in anywhere after the opening
tag, but a
tag labeled something like 'header' or 'logo' is best. Names of
tags in themes vary, but you should be able to tell their purpose by what they are called. Here is an example:
In the above code, an
tag was added to a
called 'heading,' and below it is the code for a WordPress menu.
3. Add the bloginfo() function to the path to your logo within the
tag. You can use bloginfo() to output the path to your theme files. The code looks like this:
/logo.png' />The browser will then see the path to the theme folder. If your logo is located within a folder called 'images' under your theme folder, use code like this:
/images/logo.png' />
4. Wrap an anchor tag around your logo to make it a link. You should link the logo to your home page because users expect that. Here is the code:
'>
/logo.png'>
Notice that the anchor tag above also uses the bloginfo() function, but now it contains 'wpurl' instead of 'template_directory.' These parameters tell the function what type of info you want to display. In this case, 'wpurl' displays the URL -- the Web address -- of your WordPress-based website.
5. Use bloginfo() to add some more information to your logo, such as a title for the link or alternative text for screen readers. Adding this information is good for Search Engine Optimization, or SEO, and will improve your Google rankings. Here is code with 'title' and 'alt' attributes added:
' title='
'>
/logo.png' alt='Welcome to
'>
1:44 AM | Filed Under | 0 Comments
Comments
Popular Posts
-
1. Log in to your Weebly account. 2. Click 'Theme Editor.' 3. Click on the 'Design' tab. 4. Select 'Edit CSS/HTM...
-
1. Sign up for a publisher account at Bidvertiser. Submit basic contact information and confirm your email address to get started. 2. Lo...
-
1. Log in to your WordPress dashboard. 2. Open the 'Appearance' section on the left side of the WordPress dashboard and then cli...
-
Facebook Widget 1. Create a Facebook fan page for your blog, if you don't already have one. You will have to manually share content wi...
-
1. Open your WordPress Dashboard in your preferred browser. It is accessed at the '/wp-admin' location of your site. For example, ...
-
1. Download and install the WordPress for BlackBerry app via BlackBerry App World. Download the version that corresponds with your BlackBe...
-
1. Go to your WordPress blog's administrative control panel. 2. Click the 'Settings' button on the left-side navigation menu...
-
1. Click the 'Add Contact' button on the 'Add New Post' page. This opens the 'Add a Contact Form' page. 2. Click...
-
1. Register an account with Amazon Web Services Cloud. If you have an existing Amazon account, enter your email address in the appropriate...
-
1. Log into your WordPress.com account using your user name and password. 2. Hover your cursor over the 'My Blogs' tab at the to...
Post a Comment