黄聪:WordPress通过文章ID获取调用返回文章URL地址链接

一句代码不割

<?php echo get_permalink( $id ); ?>

原文地址:https://www.cnblogs.com/huangcong/p/2597554.html