How to create a page when a theme is activated?
I want my theme to have an ‘about’ page available by default when a user uses my theme. Is there a way to auto create a page when a user selects your template? Or some other way of achieving this? 4 Answers 4 There is a hook specifically for this purpose, called after_switch_theme. You can … Read more