why not just “view source” in a browser, and copy that output to the other files? Thats certainly what I would do.
no, because if I add a static page in wordpress, it won’t be updated in the other places…
the most important thing is having the links to other pages.
I was hoping to for example add in wordpress an external page to my pictures and then when I see my forum for example, this links gets dynamically added…
Maybe I should have gotten a cms, but that’s too complicated for the people who use the site every day.
well, ok then.
to incude any part of wordpress in other PHP files, you need to do this:
<?php
require('./path-to-your-blog/wp-blog-header.php');
?>
after youve done that.. IF header.php only contains the stuff you want to use .. its merely a matter of doing this:
get_header();
there are more than a few threads on here that explain what you are trying to do.
http://ww.wp.xz.cn/search/include+header?forums=1
whooami, I’m realising now I should have searched better.
Though this solution works great for pages already created, it doesn’t work for phpBB
So I started searching for easy solutions, but I can’t seem to find them on the forum.
I’ve started fixing problems, like double functions by using the “function_exists()” function of php, but that doesn’t solve everything.
Basically the problem is that either I include the wordpress information before the phpbb information, meaning that every output started by wordpress, will give the “output already started” when phpbb tries to set headers (like cookies)
Or I do phpbb first, but then I seem to be making calls to wordpress functions in a wrong order (so some classes are being used without being defined)
It all seems very complicated :-p
and since phphbb will have nothing to do with wordpress (static pages, etc..) I dont see why your not wanting to do it the way I already suggested. via the source method