[ad_1]
Need to create a custom post type on a client site. I’m using a block theme. Should I use a plug-in like CPT UI or hand code it?
[ad_2]Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
If there is no need for the client to be changing anything with it, hand code it so there is one less plugin that has to stay up to date and usually will be way more bloated than a few lines of code to do the same thing (this goes for a lot of plugins, not knocking the one you asked about)
You can build in acf and export as php, best of both worlds.
If the scale is low and budget is small, I would use a plugin. If the scale is large and the budget supports it, I would go for custom code.
For example you’re making a site for a salon and they have only 4-5 services. There is very less chance they will change the content format or the design in 1 year. So using a plugin in this case is safe.
But if you’re working for an ice cream parlor who change their flavors according to season, stop offering some flavors and introduce new ones every month, then hand coding would be more helpful.