Exclude current page from news feed web part

Iron Contributor

We use a news feed part on news post pages to show "recent posts" (similar to many blogs). It doesn't make sense to include the current page in that feed so is there a way to exclude it? Able to use PnP modern search too if that's a better option. 

1 Reply

@matt howell Follow the steps:

  1. Set "Title" field of each news site page with some unique title
  2. Go to news page, edit news web part added on the page.
  3. Set Filters conditions like this: ganeshsanap_0-1663139092647.png
  4. It will exclude the current page with mentioned title from news web part.

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.