How To Exclude Current Post From Loop : WP_Query ?

How To Exclude Current Post From Loop : WP_Query ?

Are you seeking for the guide to exclude current post from loop? While developing the front page of your website, you may in need to exclude the latest post from the WordPress post loop.

It's because when you show the featured image then it is possible that the same post would appear in the other section on the same page.

To avoid such conflicts, you have to add a little bit of code in the theme file. There is nothing complicated.

You just have to use the two words.

Read More

要查看或添加评论,请登录

Ravi Chahar的更多文章

社区洞察

其他会员也浏览了