Theme Features
Click a topic to read its notes.
Moving the sidebar
Usually the most requested modification to my themes, the question I'm often asked most is: "How do I move the sidebar?"
I've added a theme option so that this can easily be managed from within the WordPress admin panel.
WordPress 2.6: Under Design, Theme Options, select the desired location from the dropdown list and save changes.
WordPress 2.7: Under Appearance, Theme Options, select the desired location from the dropdown list and save changes.
Sitemap template
A sitemap template is included in this theme. To use, simply login to your WordPress Admin panel and create a new page.
WordPress 2.6: Under Page Template, select Sitemap from the dropdown list and publish.
WordPress 2.7: Under Attributes, select Sitemap from the dropdown list under Template and publish.
Note: No additional content is needed for this page, the template will automatically fill in everything.
Links template
A links page template is included in this theme. To use, simply login to your WordPress Admin panel and create a new page.
WordPress 2.6: Under Page Template, select Links from the dropdown list and publish.
WordPress 2.7: Under Attributes, select Links from the dropdown list under Template and publish.
Note: No additional content is needed for this page, the template will automatically fill in everything.
Admin & Login links
I've found that many users dislike using the meta widget and often remove it, but forget to set a link for quick access to the WordPress admin panel. For this reason I've hardcoded the WordPress admin and login functions into the footer of the theme.
If a user is not logged in, the login link will appear, otherwise the admin link will appear.
If registration is enabled, the register link will also appear.
Additionally, if a user is logged in, the Admin and/or Logout links will appear in the navigation bar at the top of the page (depending of course on the permissions of the user).
Printer-friendly style
This theme includes the file print.css which is a bare-bones stylesheet optimized for printing posts and pages.
Sticky posts?
To help your users tell if a post is sticky, an "i" (as in 'informative') icon will appear next to the post's title.
Default feed options
By default, this theme includes the coding for the following feed types: RDF/RSS 1.0, RSS .92, RSS 2.0, Atom 0.3. The RSS feed for all comments for your blog is also included.
Conditional feeds: If viewing a single post, the comment feed for that post is available. If viewing a category, the feed for all posts in that category is available. If viewing a tag, the feed for all posts with that tag is available.
Using Feedburner?
By default, the theme features a feed icon linked to the blog's RSS feed. This can be changed to a Feedburner RSS feed by simply updating the sidebar.php file and replacing the following text with the URL to your Feedburner feed:
<?php bloginfo('rss_url'); ?>
Also, you can enable the Feedburner email subscription link by opening the sidebar.php file and go to line 8. You will see the following symbols at the beginning and end of that line:
<!-- -->
Delete those symbols. You will also see this phrase on that line:
uri=YOUR_ID_HERE
You will need to replace YOUR_ID_HERE with the URI ID of your Feedburner email subscription link. This is the "username" part of your Feedburner RSS link.
Example: http://feeds2.feedburner.com/bobbymcgee
In the above, the URI ID is 'bobbymcgee'
Twitter integration
In the post footer (when you click on a post, not viewing the index or archive page), there is a "Share on Twitter" link.
You can also add your latest Tweet to your sidebar. Open the sidebar.php file and look at lines 12 and 41. You will see the following symbols on each of those lines respectively:
<!-- -->
Delete those.
Also look for the following piece of code and replace the phrase YOUR_TWITTER_USERNAME with the obvious.
$username = "YOUR_TWITTER_USERNAME";
Customized default avatar (Gravatar)
Also included in this theme is a default avatar to match the theme style. To use, simply login to your WordPress Admin panel and set the custom gravatar as default.
Go to Settings, Discussion, scroll to the bottom and select "Black Hat theme default avatar" as the Default Avatar.
Related Posts
I've added a Related Posts function. This looks at the first tag for a post and finds all posts matching that tag. If no tags are specified for a post, this function will not show up.
Need to hide a page from the navigation menu?
Meta tags
When developing my themes, I take the liberty of adding many commonly used meta tags. Most of the information is automatically filled in via various WordPress commands.
Feel free to adjust as needed, or remove altogether if you use a WordPress plugin for meta tag handling.
Note: You will need to fill in your keywords!
To do this, open header.php and look for the following:
<meta name="keywords" content="" />
Fill in your keywords, separated by commas:
<meta name="keywords" content="example, test, sample, lorem ipsum, blah" />
Favicon
A favicon (short for favorites icon) is a 16x16 pixel square icon associated with a particular website or webpage. Browsers that provide favicon support typically display a page's favicon in the browser's Address bar and next to the page's name in a list of bookmarks. Browsers that support a tabbed document interface typically show a page's favicon next to the page's title. The Microsoft Windows also uses favicons to represent "Internet shortcuts" to web pages.
By default, all of my themes include a simple favicon. To replace this with your own, copy your favicon.ico file into the images directory in the theme folder.
To design your own favicon.ico file, try one or more of these resources:
- Favicon.cc
- Dynamic Drive
- RealWorld Graphics
- FreeFavicon
- Favicon.co.uk
- Favicon.com (pay service)
Support / Feedback
Please contact me using the form available on my website.
Remember to include the theme's name and version number (found in style.css) that you are using so that I can better troubleshoot any issue.
Thanks!
Nicki