Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Remove unpublished pages from Page list in the Menu

default discord avatar
Akt771last year
3

I need to filter the pagelist, which has list of pages that are only published! If the page is saved as a draft, I do not want that page to be in the page list.


Is this possible?


As far as I understand, the page list is rendered based on the

Page Slug

from which I cannot figure out to filter the pages

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.