Visit NEW "Contests" section! Special for blog visitors only!
Powered by MaxBlogPress  

 

Displaying Latest Posts Title from Certain Category Anywhere on Your Blog

Displaying Latest Posts Title from Certain Category Anywhere on Your Blog

Mar 13th, 2008 | Category: Make Money Blogging

A few days ago, this blog was reviewed by Noemi from BloggyAward.com. On the review, Noemi pointed out a cluttered impression on my blog. Then I looked around my blog and looking for some spots to free up. Finally, I came up with the idea to merge recent post list on the upper-right sidebar into a tabbed menu on the upper left sidebar, below the first tabbed menu.

Having that in mind, I also wanted to display the most recent posts according to their categories inside the tabs. The problem is, I didn’t know how smile_embaressed. Then I emailed Andrew Rickmann from WPFun.co.uk about my problem. He replied (fast! and actually I asked one more person, but only Andrew replied) and suggested using the “query_posts” to assign the category ID or name to the following codes used to display the latest posts. He also provided two resources to refer to:

http://codex.wordpress.org/The_Loop
http://codex.wordpress.org/Template_Tags/query_posts

Thanks to his replies, I’m can now display the latest post of any category on any page of this Make Money Online blog! And also, thank you to Noemi for precious suggestions and opinions! thumbs_up



Technorati Tags: ,

If you like this post, why not subscribe


More articles you'll like:


Fast and semi auto bookmark to 45 social bookmarking services! Add to Technorati Favorites Add to Mixx! Add to BlogEngage



Blog Responses to this post:

5 Comments | Subscribe to Comments by Email or RSS | Trackback URI »

Luke on 2008-03-22 23:52:29 said
MyAvatars 0.2

Congrats on finding the solution you were looking for. Good for Andrew!

The blog still seems a little cluttered to me due to the fact that I have to scroll from side to side to see the side bar. However, most blogs seem to have this issue :-(
Luke’s last blog post..Three nice plugins to have

Louis Liem on 2008-03-23 07:20:25 said
MyAvatars 0.2

Thanks, Luke!

I’ll keep getting feedbacks in the layout to find the best accomodates reader’s experience with any screen resolution. I think placing the banners on the right side can be a win-win solution to readers and advertisers.

I hope you enjoy the articles :grin:

 
 
PZ on 2008-05-25 16:02:42 said
MyAvatars 0.2

Hey man!! This is exactly what I’ve been looking for and the sources you provided were great… but do you have the code straight up for someone a little less savvy with strings and query’s?

What I want to do is take this page:
http://pzfantasyfootball.com/?page_id=5

and instead of having it the way it is (sort of like a site map).. I want to display the title of the posts in that specific category (start and sit).

If you could email me a response that would be great! I know it’s sort of inconvenient but I’m not sure I’ll remember to come back here and check for a response lol.

PZ’s last blog post..Question of the Year, Rookie Impact?

Louis Liem on 2008-05-27 12:46:26 said
MyAvatars 0.2

I already sent the email, PZ. Let me know if you need anything else.

 
 
PZ on 2008-05-30 02:26:53 said
MyAvatars 0.2

Extremely helpful this site gets mad kudos from me! Keep up the good work!

PZ’s last blog post..Larry Johnson says he’s 100%

 
Author / Blog Name
E-mail (optional)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
Subscribe to comments via email

« Previous Post     Next Post »