I just started using Wordpress 3.0 to get a simple blog up and going. For now I am working with the default theme "Twenty Ten".
I want to make a simple change:
I'd like to modify the layout of the bloginfo( 'name' ), bloginfo( 'description' ), and php header_image() that appears at the top of the blog.
So, under Appearance, Editor, I select Header.php and I can see how this is being rendered.
It appears I can just modify this to my liking and I am good to go. (Correct?)
If so, my question is: is it considered proper practice to modify the html in header.php?
It seems to me that this is a bit dangerous, for example when it comes time to upgrade that same theme. How do I know which php files I have applied customizations to? Say I modify 6 php files, then an upgrade of the theme comes along...how does one handle re-applying these changes to the upgraded theme?
Is it a total "do over"?
Is there a better way to handle this scenario?
Maybe some themes are more powerful than others and can handle this type of customization more flexibly, and I should be searching for such a theme? Or, is there a reasonably proper and safe way to do this by directly editing the php files?
Implement custom template (static web - HTML) on WordPress
1:change the function wp_list_pages in wordpress
Then copy the header.php file over to ananother file in your directory, and edit to your heart's content. If twentyten ever receive s updated, you'll receive the benefit of those updates (unless they're in css or the header) without losing your changes..
Twenty Ten Customized. You must then copy or re-did the changes in the upgraded theme if you think the upgrades are worth the trouble. There's no rule this says you have to have the latest version of the theme, after all.. There might be another themes this allow a high degree of customization without editing the php, although most of the time you'd have to edit the php I'd think. (although I'm no pro theme developer.).
style.cssfile in your theme's root to did this.. Personally, however, if the theme already works for me out of the box, I think I'd most probably already be fine with that. My website's running, the theme's working, and updating my theme may just break my site in ways I don't know.. I'd probably update it only for major security updates, although I'd probably be reading a changelog for that. But if I was doing that, I'd know what files exactly were modified, and I must just manually did it myself. Sounds like a lot of work, although better than my site buckling on me by any unknown cause..