![]() |
Wordpress Help: WP is not using my custom page
I have set the index as static (home.php)
So I want the blog pages to be shown under /blog The index (home.php) loads up fine, header and custom setup. The blog posts load, BUT: The blog page is not updating. It is loading the old header, SO the css changes are not being loaded. I read something about the hierarchy, but I have no idea what to change. :helpme |
I'm not 100% sure what do you mean, anyway, if you're using 2 headers (is that what you mean?) then you need to require the correct header, like this:
Code:
<?php include(TEMPLATEPATH.'/header2.php'); ?> Code:
<?php |
Thanks.
I'll use this. :thumbsup The other problem was that I moved the blog from a sub-dir to the root and the single was looking at the old folder. |
Second note for anyone else who has this issue:
Seems home.php may be a reserved filename. |
Silly question but did you clear your browser cache? I find that mozilla based browsers tend to keep using a cached version of css and caused me headaches similar to yours.
|
Yeah, first clear your cache and make sure you're not just searching for a problem that's not there.
Second, make sure all of your stylesheets and other included files have the correct paths in your code (as harvey mentioned). |
Yea, the cache thing was the first thing I did.
Everything is working correctly now. :thumbsup |
Quote:
single.php instead of get_header() use get_header('single'); header-single.php it will look for. |
All times are GMT -7. The time now is 02:14 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123