wordpressでidを使用しておすすめの記事を先頭にもっていく!よく読まれている記事をブログのサイドバーに表示する!などidを使用してwordpressを自由自在にデザインする事はお勧めです。
![](https://sugublog.org/wp-content/uploads/2021/02/cropped-dog003-150x150.png)
でもidってどこで確認するの?どこにも書いてないよ。
![](https://sugublog.org/wp-content/uploads/2021/02/mine_white_002-e1624111291945.png)
![](https://sugublog.org/wp-content/uploads/2021/02/mine_white_002-e1624111291945.png)
![](https://sugublog.org/wp-content/uploads/2021/02/mine_white_002-e1624111291945.png)
じゃあ今回はwordpressのidを確認する方法を教えてあげるよ。ワンちゃん。
目次
wordpressのidを確認する方法
![](https://sugublog.org/wp-content/uploads/2021/06/search-min-1024x682.jpg)
![](https://sugublog.org/wp-content/uploads/2021/06/search-min-1024x682.jpg)
![](https://sugublog.org/wp-content/uploads/2021/03/image-1.png)
![](https://sugublog.org/wp-content/uploads/2021/03/image-1.png)
「投稿」から記事一覧を表示させます。次にidを表示させたい記事にマウスをあてると左下にURLが表示されます。
この中の「Post=」の後の番号がidとなります。この方法で簡単にwordpressのidを確認する事が出来ます。
![](https://sugublog.org/wp-content/uploads/2021/02/mine_white_002-e1624111291945.png)
![](https://sugublog.org/wp-content/uploads/2021/02/mine_white_002-e1624111291945.png)
![](https://sugublog.org/wp-content/uploads/2021/02/mine_white_002-e1624111291945.png)
これでwordpressで記事のidを確認する事ができるね。idを使って人気の記事を表示させたい箇所に表示してみてね。
![](https://sugublog.org/wp-content/uploads/2021/03/dog004-150x150.jpeg)
![](https://sugublog.org/wp-content/uploads/2021/03/dog004-150x150.jpeg)
![](https://sugublog.org/wp-content/uploads/2021/03/dog004-150x150.jpeg)
こんなやり方なんだね。やってみるよ。