subscribe by Email | RSS Feed

Tuesday, December 2, 2008

Changing the Header Image

Posted by Brandon on October 6, 2008

There are three options for changing the header image…

1. Create a graphic at least 960 pixels wide and 140 pixels high, name it header-bg.jpg and upload it to the /images folder of the theme and it will replace the green background.

2. Upload an image at least 960 x 140 and in the stylesheet (style.css), find the line that begins with #header and you’ll see the line background: url(images/header-bg.jpg);. Change the file name or include an exact url.

3. To make the entire header a clickable graphic… in the file header.php, locate the section marked with

<div id=”header”>

and ending with

</div>

Leave those alone, but delete everything in between them and then insert this code…

<a href=”<?php bloginfo(’url’); ?>” id=”title”><img src=”http://www.yourdomain.com/pathtoyourimage.jpg” alt=”<?php bloginfo(’name’); ?>: <?php bloginfo(’description’); ?>” title=”<?php bloginfo(’name’); ?> Home” /></a>

Make sure your image is exactly 960 x 140.

Is it taller or shorter? Then back in the style.css file, find #header and adjust the height: 140px; to the number of pixels high. I’d highly recommend the 960 wide image though, to save a whole lot of trouble.

Check the single.php in version 1.3 and prior…

Posted by Brandon on September 21, 2008

I inadvertently left in my feedburner javascript from my blog in the single.php file just below the postmeta section. Please remove this. It should have no effect on your site, but is wreaking havoc on my feedburner stats as it’s registering tons of hits on sites I don’t own. I apologize for any inconvenience and I’ve sent version 1.4 to the WordPress themes directory which eliminates this problem.

Images and Captions

Posted by Brandon on September 6, 2008

Yes, It\'s An Acorn

Yes, It's An Acorn

Yes, it’s an acorn.

This is a post that contains some images for your viewing pleasure, so that you know how they are treated by this theme. Here at the top is one medium-sized image aligned (floated) to the right, with a caption underneath.

What follows are some thumbnails aligned to the left, then a single image centered.

Yes, it's an acorn.

Yes, it's an acorn.

Yes, it's an acorn.

Yes, it's an acorn.

Yes, it\'s an acorn.

Yes, it's an acorn.

Set Up a Blogroll Page Without a Plugin

Posted by Brandon on

I’ve included a file called links-page.php. Create a new page and call it whatever you’d like and set the slug to whatever you like, but don’t worry about the content (nothing in the editor will show up anyways). Just scroll down and select the page template called “Links.” I’ve created an example that you can see listed in the top navigation. This enables you to use the blogroll functionality without the seo-hindering aspect of having site-wide links.

Ad Spots

Posted by Brandon on

Note that the ad images above are positioned using negative margins, which is not supported in old and busted browers like that sorry IE 6.0, but I didn’t worry with a hack. If you want them all on one line in older browsers, you’ll need to do some tweaking. Most users will just delete the ads anyways. To do that, open sidebar.php and delete everything you see below…

<div class="ad-blocks">
<img src="http://egracecreative.com/bible-scholar/wp-content/themes/bible-scholar/images/125-ad.png" />
<img src="http://egracecreative.com/bible-scholar/wp-content/themes/bible-scholar/images/125-ad.png" />
<img src="http://egracecreative.com/bible-scholar/wp-content/themes/bible-scholar/images/125-ad.png" />
</div>

They will magically disappear and your 2 sidebars will rise to the top. Or, if you are ready to insert your own code, leave the

<div class="ad-blocks">

and the

</div>

and put your script in between them.

Yoast Breadcrumbs

Posted by Brandon on

This site features Yoast’s breadcrumbs just below the header image which you’ll need to download from his site, unzip and upload to your plugins directory, then activate. Breadcrumbs are a great way to help people navigate your site, and they may help search engine crawlers move around your site as well.

Attention Grabbing More Line

Posted by Brandon on

Although you can change it in the theme files, I’ve pre-configured the “read more” line to be a bit more attention grabbing…

WAIT! There is more to read… read on »

Hello world!

Posted by Brandon on

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!