Peter Kelly wrote:Why don't you just install the wordpress under a directory then create a regular index page in the root ?
Although that's a simple solution by itself I don't think it would help if he wants the intro/language selection to appear on the visitor's
first access (just going by what the OP wrote here). For example, if the visitor went straight to
www.blog.com/2011/01/random-post instead of
www.blog.com on their first visit.
Personally, I would write a plugin for this as the functionality would then be independent of any future theme changes. In addition this would open up the potential for the "intro" to be a page that can be edited within WordPress, rather than having to go in via FTP and hard-code the changes or whatever.
My second choice would be to work it into the theme files (as the OP seems to be doing, and that might be a faster way of achieving the same thing if you are most comfortable working with theme files). By putting the check on
$_SESSION['ses_intro'] within
header.php it again means that the visitor can be intercepted on their
first access, regardless of what URL it is they access on that first visit.
fabby wrote:First, when you acces the website, i want to appear the intro page, when you can select the language, and then, just to see the rest of the site (but the homepage not to be the intro.html, to be index.php, file that present the site, with header and footer).