Backlink exchange with website PR3 or more. send me an email to marius.duse@ordis.ro

Archive for January, 2009

A little WordPress education first: WordPress has built-in logic so that when a Category is selected, it first looks for a program file named category-X.php. The –X is the category ID number. So if you have a template for a category named “Motorcycles” and its ID number is 9, then the file you create would be named category-9.php.

If this file is not found for the category, the code logic then looks for a program file named category.php, if this is not found, then it looks for archive.php, and finally if that is not found, it looks for index.php. Most Theme designers will include at least the archive.php and index.php program files.

To get started creating your custom category page template you will need to use a text editor like notepad or some other file editor.

  1. Review this article to learn how to discover your category ID numbers.
  2. Make a copy of archive.php and save it with the name category-X.php, using the Category ID number you determined in step 1, in place of the “X”.

Now you have a category-specific template that you can modify in order to create a unique page for this category.

Let’s create a custom template for our “Motorcycles” category by adding a header tag that tells Visitors what Category they are viewing along with a unique image.

  1. Open your new category-x.php file.
  2. To add a category-specific Title, in this case, “Motorcycles”, add this header tag code snippet within the content area*:
    <h1><?php single_cat_title(''); ?></h1>
    (Review the WordPress codex to learn more about single_cat_title() )
  3. To add a unique image that designates the Category, add this code snippet below the header tag code:
    <img src="<?php bloginfo('template_url'); ?>/images/motorcycles.png"
    alt="<?php bloginfo('name'); ?>: <?php single_cat_title('',); ?>" />

    (Make sure that you have uploaded your image and that you have the correct path to where you have the image, in your code)

  4. Save the file and test results of your new category-specific page template.
  5. Of course, you may need to do some CSS tweaking to achieve proper spacing, etc.

Here’s an example of the entire category-X.php file:

<?php get_header(); ?>

<div id="content">

<div id="contentleft">

<div class="postarea">

<?php include(TEMPLATEPATH."/breadcrumb.php");?>

<h1><?php single_cat_title(''); ?></h1>

<img src="<?php bloginfo('template_url'); ?>/images/motorcycles.png" alt="<?php bloginfo('name'); ?>:
<?php single_cat_title('',); ?>" />

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>

<div class="date">

 <div class="dateleft">
 <p><span class="time"><?php the_time('F j, Y'); ?></span> by <?php the_author_posts_link(); ?> &nbsp;
<?php edit_post_link('(Edit)', '', ''); ?> <br /> Filed under <?php the_category(', ') ?></p>
 </div>

 <div class="dateright">
 <p><span class="comment"><?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?>
</span></p>
 </div>

</div>

<?php the_content(__('Read more'));?><div style="clear:both;"></div>

<div class="postmeta2">
 <p><span class="tags">Tags: <?php the_tags('') ?></span></p>
</div>

<?php endwhile; else: ?>

<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>
<p><?php posts_nav_link(' &#8212; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?></p>

</div>

</div>

<?php include(TEMPLATEPATH."/sidebar.php");?>

</div>

<!-- The main column ends  -->

<?php get_footer(); ?>

Want to take your WordPress Category-Specific Template to another level? What happens if you have child-categories? For the newbies, these are categories assigned to a Parent category. An example would be the example “Motorcycle” category as the parent and then having child-categories like “Harley Davidson”, “Honda”, “Suzuki”, etc.

Share/Save/Bookmark

Tonight Busby SEO Test blog will share about a free Wordpress theme yet with a quality as a premium theme, the theme I would like to share now is Mahusay. This theme filled with:

  1. Featured post gallery,
  2. Twitter account integration,
  3. Tabbed Sidebar,
  4. Automatic Thumbnail Resizer,
  5. Feedburner Email Subscription,
  6. Adsense ready and other ads blocks easily customize via an Option Page.

Here’s Mahusay Wordpress Theme Screenshot:

Mahusay Wordpress Theme Screenshot Download

And here’s I give a short tutorial on how to install the theme correctly and easily, so it will save your time, ok follow me:

Required Plugins and Scripts:

  • Featured Content Plugin
  • Popularity Contest
  • TimThumb PHP Script

Installation:

  1. Upload tt-scripts folder in your WordPress root folder (this is where your wp-config.php is located).
  2. Upload the content-gallery and popularity-contest folders in the /wp-content/plugins directory.
  3. Activate Featured Content Gallery and Popularity Contest plugins.

Customizing Featured Content Gallery:

  1. Go to Settings > Featured Content Gallery
  2. Recommended settings:
    • Gallery Width in Pixels: 606
    • Gallery Height in Pixels: 220
    • Text Overlay Height in Pixels: 80
    • Category Name: featured
    • Number of Items to Display: 3
  3. Then Update Options.

Options Page

Mahusay Options Page

Customizing Options Page:

  1. Go to the General Setting and fill in your:
    • Primary Author (optional)
    • Twitter Username
    • FeedBurner ID
    • Category Slug 1
    • Category Slug 2
    • Category Slug 3
    • 3 Adsense codes
  2. Go to the Custom Advertisement Settings and fill in your:
    • Full banner header codes
    • 4 Square banner header codes

Additional Customization:

  • Changing the About The Author Photo:
    1. Your Gravatar is the default photo. Get a Gravatar now if you don’t have one.
  • Changing the About The Author info:
    1. At the WP Admin Panel, go to Users > Your Profile > About Yourself > Biographical Info
    2. Write a brief author information.
    3. Then Update Profile.
  • Changing the Logo:
    1. Use the logo.psd found at the /mahusay/images folder.
    2. Edit it using your favorite graphics application.
    3. Save as background-sitename.gif and upload it at the /wp-content/themes/mahusay/images folder.

Custom Fields

Mahusay Custom Fields

  • Posting a Featured Content:
    1. Write a post and place it at the “Featured” category.
    2. In your post, go below the Custom Fields section.
    3. Key: articleimg
    4. Value: url of the image (with at least width: 606px and height: 220px)
    5. Then click Add Custom Field.
    6. Save or Publish your post.
  • Changing the default post thumbnail:
    1. In your post, go below the Custom Fields section.
    2. Key: paddimage
    3. Value: url of the image in the uploads folder (i.e. /wp-content/uploads/2008/11/thumbnail.png), don’t worry about the size because it will be resized automatically.
    4. Then click Add Custom Field.
    5. Save or Publish your post.

Ok I guess you want to see the whole looks of the theme thus here’s the demo:

Demo Mahusay Wordpress Theme.

Download Mahusay Wordpress Theme.

Share/Save/Bookmark

Get more sales from your web pages by writing effective marketing copy. People rarely read web pages - they scan to save time. Within the first 4-10 seconds your average user has scanned all your information and because of the limitations of time and screen space you need to ensure what you say is what the user wants.

Your headlines need to grab attention, your copy needs to invoke desire and your “calls to action” need to persuade your visitors to make that sale.

Here are our top tips to make your web pages effective in turning your visitors into customers.

1. Upside down pyramid method. Place all your important information at the top of the page Some visitors may never get to the bottom of your page.

2. Grab attention with well written headlines. Just like turning the pages of a newspaper you need to grab the readers attention with a snappy headline. Use sub headers to keep interest and draw them through the article.

3. Write strong first sentences. A strong first sentence in any paragraph is known as a “lead”. Writing a strong lead and including a reward will pay dividends. Sentences like “Save money by…” and “Earn points with …” hook the reader with benefits.

4. Be active in your sentences. Make the subject perform the action using sentences like “digital cameras give good results” as opposed to “you can get good results from didgital cameras”. Being active is more positive and instills desire in the reader.

5. Focus on the second person. Talking about benefits rather than features using the second person tells the reader what they will get. Empower your reader using “you” and “your” to imply personalistion and ownership benefits. “Your sales will improve…you will improve your golf swing…” etc.

6. Keep it short and write vivdly. People don’t have time to read long winded pages. Use short words and sentences, be informal and use specific nouns and verbs. Don’t make it long winded with flowery adjectives and so on.

7. Forget jargon. Don’t expect your readers to understand the latest jargon for your products ans services. Keep things straightforward and simple.

8. Keep everything above the fold! Remember you have 4-10 seconds to impress your visitor to entice them to stay and make the sale. Make sure all your important information is above the fold - above the area before they have to scroll. Make sure your calls, to action such as buy now, call me now actions are visible - don’t make the visitor have to work to buy your product otherwise the sale is gone.

Share/Save/Bookmark