[wp-hackers] Auto Add Page on Theme Select

Steve Bruner [SlipFire] sbruner at slipfire.com
Tue Jun 9 18:11:58 GMT 2009


Hi All,

I'm creating a theme and would like a Page to be auto created when the theme
is selected.  Would obviously check to make sure the page doesn't
pre-exist.  Tried using the switch_theme hook but it seems that it won't
execute in functions.php, only a plugin.

Any suggestions would be appreciated.

Thanks
Steve


More information about the wp-hackers mailing list