buhamad
Forum Replies Created
-
I tried to edit the core of WP before… missed up everything back then… lool
Here is what I tried now…
I fetched the definition of all needed functions manually and copied them literally into my new home2.php …As u said, get_header() is in “wp-includes/general-template.php” indeed (so as get_footer())
Sadly enough, those two functions are also using other wp function from other php files inside wp-includes!
Sooooo…. I continued copying (load-template(), …etc)… until I reached those two functions, require() and require_once(), and got long-description errors….
So I called it a truce until some other time :/
“wp wouldn’t natively go hunting for a file named home2.php”
yea… true… it’s all configured to be home.php.. not home2.php
My question is: where is that configuration file?
I want to be in control of it… not it controlling me :/That configuration file is making the includes implicitly.. I admit that this method is modular inorder to fit with the fact wp uses various themes, indeed..
Still, again, I want to control the includes structure of my own website.. with the help of wp, of course 🙂
any other help, please?
yes… you guessed it right.