Last active
September 20, 2018 01:52
-
-
Save mhige/91b1239a9aa68a27d23abe953c9e7d65 to your computer and use it in GitHub Desktop.
Wordpressのget_permalinkタグで記事IDを指定してURLを出力
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ID9999の記事の"URL"を出力 | |
echo get_permalink( 9999 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment