- This topic has 3 replies, 2 voices, and was last updated 8 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘Filter wp_list_pages’ is closed to new replies.
Hi!
Is there any way to make wp_list_pages()
only show pages that the current user role has permission to see?
Hi Syam! Thanks for your reply.
I see. I could add the pages to a menu instead and use wp_nav_menu()
. The problem is that there’s over 100 pages with different permission levels. Is there any way to set the same permissions on the menu items as on the pages themselfs? It would be nice if this happens automatically so I don’t have to go through all of them and set the permissions.
Hope you understand what I mean… 🙂 Thanks!
Hi John,
I totally understand what you are referring to. This is something I have in my to do list.
Thanks
Syam