« See all FAQs for WOW! mySite WordPress Mobile Theme

I have a different page that I use for my desktop homepage other than ‘Latest Posts’. What can I do to make it work with my mobile theme?

So your desktop theme uses a homepage which is not your Latest Posts?

You will need to add some code to make this work. Add the following to both your desktop functions.php and your mobile functions.php.

1. In the mobile theme functions.php file you will need to add update_option( ‘show_on_front’, ‘posts ’ );

This will set index.php as your mobile theme’s homepage.

Now to change the homepage of your desktop theme to what you want.

2. In your desktop theme functions.php file you will have to add $about = get_page_by_title( ‘about’ ); update_option( ‘page_on_front’, $about->ID ); update_option( ‘show_on_front’, ‘page’ );

‘about’ will be the page name that you are using as the homepage for your desktop theme.

That’s it! Give it a go.

by
by
by
by
by
by