Create Pages on WordPress Theme Activation

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.

Leave a Reply

Your email address will not be published. Required fields are marked *