i had installed a wordpress and i want to show the posts in a page outside wordpress.(in magento page) i had applied the query to fetch all records, but it shows me duplicate records, as i can see the duplicate posts with different id's in wp-posts table in database. Now how can i get the single record with multiple id's once :( ??? Any idea ???
NOTE : in wordpress it is showing each post only once mean no duplicate record is showing up 2nd time, but outside wordpress it is fetching multiple instances o开发者_如何学编程f the same post.
i don think so any code of mine is required as it is a simple straight forward question !!!
Wordpress works with revisions. Each time you save a post a new revision is made. All you have to do is select the biggest revision for each post.
精彩评论