WordPress.org

Ready to get started?Download WordPress

Forums

Way to limit number of pages? (4 posts)

  1. highlandn
    Member
    Posted 10 months ago #

    Is there a way to limit the number of pages that can be created?

    Thanks in advance

  2. graphical_force
    Member
    Posted 10 months ago #

    If you are worried about someone creating a page, just make sure that they have a role where they can't create a page.

    http://codex.wordpress.org/Roles_and_Capabilities

  3. Rod Whiteley
    Member
    Posted 10 months ago #

    To allow someone to create pages, but only a limited number of them, you could write PHP code that checks the number of pages and allows new pages to be published only if there are not too many already. Perhaps there is an existing plugin for that.

  4. highlandn
    Member
    Posted 10 months ago #

    These are a good start. I'm not sure I'll be able to do the PHP code myself, but I'll begin to research it. Thanks for the feedback, and any other suggestion is welcome.

Reply

You must log in to post.

About this Topic