douguluan5102
douguluan5102
2014-11-23 09:41
浏览 58
已采纳

如何从数据库中找到wordpress post id

I have a wordpress database and I want to get some data from that. In fact I want to get posts export to excell file. Now I want to join wp_posts and wp_postmeta and get a export. I find post_id in wp_postmeta table but I cant any key with this value in wp_posts.

thanks.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douci1196
    douci1196 2014-11-23 10:49
    已采纳

    Just right click on edit button on post, open inspect element with firebug and you can see id there or just off permalink view post and you can see the post_id in url.

    点赞 评论

相关推荐