cb2004 Posted July 27, 2015 Share Posted July 27, 2015 So I have the requirement to have all pages selectable in a page field. My custom selector is 'template!=admin, sort=title' which works well, however this still displays stuff in the dropdown like 'delete pages', 'edit pages'. How would I stop these appearing? Link to comment Share on other sites More sharing options...
adrian Posted July 27, 2015 Share Posted July 27, 2015 Try: id!=2, id!=7, has_parent!=2, has_parent!=7 That will exclude everything under the "Admin" page tree as well as trashed pages. You may also want to exclude the http404 page with: id!=27 Link to comment Share on other sites More sharing options...
cb2004 Posted July 27, 2015 Author Share Posted July 27, 2015 That done the business, cheers. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now