Displaying latest wordpress posts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have a wordpress blog. I want to display 5 recents posts in 3 different
categories.
For e.g
Cat1:
Post 1, 2, 3,4, 5
Cat2:
Post 1, 2, 3,4, 5
Cat3:
Post 1, 2, 3,4, 5
I tried looking up database tables. I am able to get categories from
wp_categories table. But when I tried extracting latest posts in wp_posts,
the post_category column is displaying all zeroes. I am not able to link
two tables. But, When I see the blog, categories are displayed perfectly.
Is there any way to satisfy my need?
- Srikanth
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux