Create Pages on WordPress Theme Activation
3 February, 2016
If you are developing your own custom wordpress theme and want to deliver to client with custom page or pages when the theme is activated on client’s website. There is simple way add this lines of code in function .php in your theme. The pages will create automatically when you will define using this code in your theme.