[ad_1]
Suppose I build a theme for a generic agency and there are pages which list custom post types like Services, Testimonials, and Projects. If the user installs the theme on a fresh WP installation, the theme would not be compatible since such post types don’t come out of the box.
So to ensure that the theme is reusable without the admin having to play around with the ACF plugin, do I define the custom post types in my theme’s functions.php file or do I make a plugin which needs to be installed for the theme to function properly?
[ad_2]