Support » Fixing WordPress » Way to limit number of pages?

  • highlandn

    (@highlandn)


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

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • graphical_force

    (@graphical_force)

    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

    Rod Whiteley

    (@rod-whiteley)

    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.

    highlandn

    (@highlandn)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Way to limit number of pages?’ is closed to new replies.