logo
  • 教程列表
  • SO官方文档
  • 得到永久链接()
    • 简单使用 get parmalink
    • 指定帖子以获取链接
    • 获取没有帖子名称的链接
  1. StackOverflow 文档
  2. WordPress 教程
  3. 得到永久链接()
  4. 获取没有帖子名称的链接

获取没有帖子名称的链接

Created: November-22, 2018

码

echo get_permalink( 44 , false );

输出

帖子 ID:44 的链接没有帖子的名称,例如: http : //website.com/category/%postname%/

  • 指定帖子以获取链接

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明