Hi. I have a main page, but I want to put something on another page. It is like I have a blog here: http://archijs.ema.lv, but i want to put another text here: http://archijs.ema.lv/123.php. In this page the menus, design and other stuff stays, how do I do that?
Well, you make arrangements so that I can meet/talk to/go to a bar/chat all night long/have breakfast with Linda Leen and I’ll tell you how.
Ok, I’m the nice guy. I shouldn’t be so demanding…
Copy your index.php, rename it “123.php” in your case and delete everything inside the loop (insert whatever else instead)
By doing so, you’ll keep your layout/design/menu, and your posts won’t show up. Removing the loop prevent the posts to be loaded and displayed.
Not very difficult, you have just to keep track of the paths to relevant files (since you’re going to put your page into a subdirectory):
Copy index.php into the subdirectory. Edit it: make sure that the paths to wp-blog-header.php and wp-layout.css actually point to the files. And take out everything you don’t want, in particular The Loop.
I have started to make index.php modular by putting the menu in its own file menu.php and including it. See this wiki page. Again, careful with the path.
Ok, I deleted the loop, and if I store the “123.php” file in the root directory, it works perfecty, but if I store it into a sub-directory, i need to change 2 values(at least I think so)
./wp-blog-header.php => http://archijs.ema.lv/wp-blog-header.php
/wp-layout.css => http://archijs.ema.lv/wp-layout.css
I do so, but they just dont work, it show a blank page, what could be wrong?
If you follow this link I’ve got a mini tutorial on my site on how to do this. This was originaly written when Blakely (1.02) was the release and hasn’t been updated to Mingus (current official release) or for 1.3. Some people have had success with it, others havn’t. Go slow and deliberatly, and it should be OK.