Related Posts in WicketPixie

The related posts at the bottom of each entry on wicketpixie is a nice feature, but the implementation of the plugin strips it of many of its features. If you want more features and customization for your related posts you’ll either need to move the plugin or install a different one. I’ll show how to get both of these options working with the theme

Use the Current Plugin

Like Chris said if you want those options you’ll need to move the plugin from the wicketpixie/plugins/ folder the the standard wp-content/plugins directory. Once you do this you will see some errors if you load your site as the theme is trying to call something that is no longer there. Open up your header.php file and look for

<?php include (TEMPLATEPATH . ‘/plugins/related-posts.php’); ?> (around line 24)

Delete that option and you shouldn’t get anymore errors. You’ll also need to update the plugin on the plugin page of the admin dashboard. You can now change some settings on the related posts section via the settings menu.

Use Yet-Another-Related-Posts-Plugin (YARPP)

YARPP is another plugin that adds some features like RSS intergration, forbidding categories and tags, ranking and snippets of the post. This option takes a litte more time to set up but as you can see from the bottom of this post, the results are quite nice.

First you’ll want to get the plugin and upload it to your wp-content/plugins directory. You can now delete the related_posts.php in the wicketpixie/plugins directory (this will give you an error on the site but we’ll fix that in a bit).

To save the hassle of editing the single.php when you want to change something, you can use YARPP’s settings to format the posts with wicketpixie’s built in CSS:

Change before/after entry to:

First Box: <div id=”related-posts”><h3>You might also be interested in…</h3><ul>

Second Box: </ul></div>

Next open up single.php in the theme folder and look for:

<!– related-posts –>
<div id=”related-posts”>
<h3>You might also be interested in…</h3>
<ul>
<?php wp_related_posts(); ?>
</ul>
</div>
<!– /related-posts –>

Seeing as how we formatted all of this in YARPP we can delete most of this leaving up with:

<!– related-posts –>
<?php wp_related_posts(); ?>
<!– /related-posts –>

As I said earlier you should be getting an error on your page as wordpress can’t find the function wp_related_posts, to solve this simply delete “wp_” from the function.

You should now have an enhanced related posts section to help your readers find their way around. Should you need more help, either leave a comment or find me at one of the places listed on the Contact page

Share/Save/Bookmark

I’m a Sucker for NickelBack

I bought the new album Dark Horse off Amazon yesterday for $3.99 and haven’t stopped listening to it. Two of the songs that have really gotten to me are Gotta Be Someone and I’d Come For You.

Gotta Be Someone

`Cause nobody wants to be the last one there.
‘Cause everyone wants to feel like someone cares.
Someone to love with my life in their hands.
There`s gotta be somebody for me like that.

`Cause nobody wants to go it on their own
And everyone wants to know they´re not alone.
Somebody else that feels the same somewhere.
There`s gotta be somebody for me out there.

I’d Come For You

By now you’d know that I’d come for you
Noone but you, yes i’d come for you
But only if you told me to
And i’d fight for you
I’d lie, it’s true
Give my life for you
You know i’d always come for you

Share/Save/Bookmark

Recent Favorites

Recent Photos

Categories