Creating Theme - header, footer.php files
Permalink 1 user found helpful
Can someone tell me where instructions are for creating the header and footer php files and what's included in them? Thanks.
Thanks Remo. Good idea.
My theme was working without the header and footer files until I tried to install SimpleBlog. Now there's some layout issues I hope I can solve by splitting the theme up into header and footer chunks.
I'll post in the SimpleBlog thread if I can't get it to work though.
Thanks.
My theme was working without the header and footer files until I tried to install SimpleBlog. Now there's some layout issues I hope I can solve by splitting the theme up into header and footer chunks.
I'll post in the SimpleBlog thread if I can't get it to work though.
Thanks.
Note that you don't NEED to have a header and footer -- these are not required by concrete5. Rather, it is simply a way to better organize your code and save you the trouble of having to change things that are the same in every template / page type file.
If you're having trouble with the layout, splitting up headers and footers will not change anything (it might make it easier to work with, but will have no effect on the HTML that is outputted).
If you're having trouble with the layout, splitting up headers and footers will not change anything (it might make it easier to work with, but will have no effect on the HTML that is outputted).
Sorry for digging out this topic, but I want to replace boring "<My Site Name>" thing with flash logo. Do you know how to do this? Because when editing header.php and replacing contents of <h1 id="logo"> tag with my flash code div positioning (especially on pages with side navbar) get messing up. This is really strange because after parsing php code there in html source (viewable by my browser) is only <a href="/">[my site name here]</a>
Any help, please?
Any help, please?
Can you post your header.php file here so we can see it? (You may need to ZIP it or change extension to .txt before the forum allows you to upload the file).
Thanks.
Thanks.
Nevermind, got it. I tried to put Div inside H1. OMG, LOL, ROTFL.
- header.php needs an include to display the in-site editing toolbar
- header.php needs a special call to css to make sure the custom styles are properly parsed
- footer.php needs a php call to include the javascript statistics code (e.g. google analytics)