The wp-polls.php and wp-stats.php are both in same folder as the index.php and they both are in php.
wp-blog-header has nothing to do with presentation. It doesn’t create any markup at all. It initiates the background heavy lifting such as parsing the query and building the posts list. Layout is up to the file calling wp-blog-header.
So wp-blog-header has nothing to do with layout?
Nope.
How your blog looks is controlled by the CSS
What the blog shows in terms of content is dealt with by PHP.
If you want some content on a different page – content that WP generates – then by including wp-blog-header.php, you can have that content, but it’s the CSS (or whatever markup you use on that page) that will determine the layout / presentation.
What are you trying to do ?
I just wanted my http://www.rv2.org/blog/wp-stats.php and http://www.rv2.org/blog/wp-polls.php pages to have their info loaded inside the blog. Because now, when I go those pages it’s just the info on a white background. I wanted those pages to load in the blog like http://www.lesterchan.net/blogs/wp-stats.php and http://www.lesterchan.net/blogs/wp-polls.php. His text is loaded in the blog where mines is just the text on a white background. To do that you use the line require(‘./wp-blog-header.php’); right?
I checked my stats page, and I have no reference to the index in there, yet they appear ‘inside the blog’
I guess he did it by using the rewrite rules he suggested:
RewriteRule ^stats/author/(.*)?/page/?(.*)?/?$ /T2/index.php?wp_stats=1&author=$1&page=$2 [QSA]
RewriteRule ^stats/author/?(.*) /T2/index.php?wp_stats=1&author=$1 [QSA]
RewriteRule ^stats/ /T2/index.php?wp_stats=1 [QSA]
RewriteRule ^stats /T2/index.php?wp_stats=1 [QSA]
So, my blog is broken? 😛
I did the rewrites my blog just doesn’t do it. I tried it on another blog and it does the same thing. So I guess, there’s no way to fix this for me.