WPFront
  • Home
  • Plugins
    • Notification Bar Plugin
      • Plugin Ideas
      • Plugin Settings
      • Plugin FAQ
    • Scroll Top Plugin
      • Plugin Settings
      • Plugin FAQ
    • User Role Editor Plugin
      • Plugin Documentation
      • Plugin Settings
      • Plugin FAQ
    • Paddle Gateway Plugin
  • Go Pro
  • Support
    • Documentation
    • FAQ
  • Affiliates
  • Contact
  • Login
  • Cart
  • This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by Syam Mohan.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 2, 2016 at 6:25 pm #37772
    John Svensson
    Participant

    Hi!
    Is there any way to make wp_list_pages() only show pages that the current user role has permission to see?

    September 5, 2016 at 6:29 pm #37899
    Syam Mohan
    Keymaster
    This reply has been marked as private.
    September 7, 2016 at 1:15 pm #38039
    John Svensson
    Participant

    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!

    September 8, 2016 at 1:01 pm #38093
    Syam Mohan
    Keymaster

    Hi John,

    I totally understand what you are referring to. This is something I have in my to do list.

    Thanks

    Syam

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Filter wp_list_pages’ is closed to new replies.
Log In
Lost Password

Search Topics

Documentation

FAQ
Roles List Add Role Edit Role Delete Role Restore Role Add or Remove Capability Assign/Migrate Users Posts/Pages Extended Permissions Custom Post Type Permissions Navigation Menu Permissions Widget Permissions Admin Menu Editor Media/Attachment File Permissions User Level Permissions Content Restriction Shortcodes Login Redirect Export Roles Import Roles Bulk Edit Settings Multisite Roles List Multisite Add New Role Multisite Edit Role Multisite Delete Role Multisite Restore Role Multisite Sync Roles Multisite Settings WordPress Capabilities Actions and Filters Installation Instructions