Make a Static Front Page for your site. In the template for the page, put the flash. Then make a second page (like ‘news’ or ‘blog’) and have THAT page template be your normal index page π
The problem is that the static page will be loaded inside WP and my widgets and menus will be visible, I don’t want that.
The problem with that is that WordPress will always direct visitors to bysobi.com (with no specific index). If you place an index.html file in root, you’ll effectively “break” your blog, because the visiting browsers will then load bysobi.com/index.html as it comes before bysobi.com/index.php alphabetically.
Now, you could set your .htaccess file to override the alphabetical order and load bysobi.com/index.php first, but that would defeat the purpose of have a splash screen, as no one would ever see it unless they specifically went to bysobi.com/index.html .
The best solution in this case would be to move your blog to a subdirectory, like bysobi.com/blog/ . That way, you can keep your splash page in the root without affecting your blog.
That is true, BUT π
If I move to a subdirectory, I will loose all my links from the search engines and posts on social platforms, that’s my main concern with the subdirectory.
That is certainly one unfortunate side-effect.
A good compromise would be to go with Ipstenu’s suggestion of assigning a static front page, and create a custom page template with no sidebar or menu, basically just the page and whatever you put in it.
I was going to say what macmanx said π You don’t HAVE to have any widgets etc in your static front page. I do exactly that one mine π
Thank you,
How can I assign my template just for the static page?
I dont have the option to set the template in the right sidebar.
It should be there. When you go to Pages/Add New in the admin panel, you should see “Attributes” off to the right. Expand it, if it isn’t already, and select the template from the pull-down menu under the “Template” section.
Nope, it’s not there.
Parent
Page Parent
You can arrange your pages in hierarchies. For example, you could have an βAboutβ page that has βLife Storyβ and βMy Dogβ pages under it. There are no limits to how deeply nested you can make pages.
Order
Page Order
Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in.
Have you created the page template yet? The menu will not appear if you don’t have any page templates.
Have you created the page template yet? The menu will not appear if you don’t have any page templates.
It should still appear, it will just show one option “Default”.
It should still appear, it will just show one option “Default”.
It won’t appear if he’s using a theme that has no defined page templates, like the Classic theme for example.
Oh yes, you’re correct, i had always assumed it was shown when no templates were present, being the default option.. (i was wrong)… π
Well I’ve created a folder SPLASH with the slash.php and page.php in the themes folder.
Isn’t that the location that I should create it?
No, you create it as a template with your theme. Follow the guide linked to above and create a page template titled Splash in a file named splash.php, then upload that your current theme’s directory.