WordPress

記事IDからリンクを設定

コード記述例
[php]<p><a href="<?php echo get_permalink(5); ?>">記事ID5へのリンク</a></p>
[/php]
出力例

記事ID5へのリンク