0

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.

3
  • Welcome to WordPress development. Do you mean that you want the admin to be able to publish only 10 posts under that post type?
    – Johansson
    Commented Feb 13, 2017 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
    Commented Feb 13, 2017 at 16:18
  • I think there is a very good solution: wordpress.stackexchange.com/questions/191198/…. Commented Feb 13, 2017 at 16:23

1 Answer 1

0

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 and acknowledge you have read our privacy policy.

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