new to Stackexchange , Apologies in advance ..

i have custom post type named Floorplans and i want to restrict them to total of 10 .. Means site admin can create up to 10 post types only ..

thanks in advance too.

  • Welcome to WordPress development. Do you mean that you want the admin to be able to publish only 10 posts under that post type? – Jack Johansson Feb 13 '17 at 16:03
  • 1
    You might want to post some example code so that potential respondents have a frame of reference. For example, the name of the CPT is "Floorplans" but is the slug actually "floorplans" or is it something else? Maybe include the code you are using the declare the CPT. – butlerblog Feb 13 '17 at 16:18
  • I think there is a very good solution: wordpress.stackexchange.com/questions/191198/…. – Henning Fischer Feb 13 '17 at 16:23

Do you mean you want to limit the number of "floorplan" posts a given user can publish? The Limit Posts plugin can handle this for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.