How do you automatically install multiple page types in controller.php?
Permalink
Hello,
I have a theme and would like to install all the page types automatically. I have code to just install one, but apparently I have and error when trying to install more than one. Can someone give me example code?
Any help is MUCH appreciated.
I have a theme and would like to install all the page types automatically. I have code to just install one, but apparently I have and error when trying to install more than one. Can someone give me example code?
Any help is MUCH appreciated.
You don't say what kind of error message you are getting, but maybe you are looking for something like this:
Congrats on your marketplace theme :)
John