Select home page from theme options page
-
Hello Everyone,
Thanks in advance for assisting with this issue…
I am building a theme and I would like to offer “in the theme options page” an option dropdown menu for selecting the page to use for the home page and the blog page.
The reason is because I am creating custom template pages for handling both – *** I understand that setting a static home page an post page is very easy under Settings –> Reading inside WP, however I plan to publish this theme publicly and some users may have problems ***
On the theme options page, what I need to do is as follows:
1) Inside an options menu display all published pages
2) The user selects the page they want to use as the home page
3) Once the theme options page is saved / updated, the selected home page will be set to use the designated “Home Page” template*** Same above for posts / blog page as above ***
Any advice is much appreciated,
Thanks,
- The topic ‘Select home page from theme options page’ is closed to new replies.