laurie1smith
Member
Posted 16 years ago #
Hi.
Have just started using Wordpress to create a blog site. I have been modifying a theme/template to suit.
Originally there were 2 sidebars to the right of the main content, but I wanted it so that there would be a sidebar on either side of the main content. I moved the Sidebar 1 Div so it came before the main content Div and that works fine. But when I have tested this online, the home page or index page has the new layout, but all other pages have the old layout?
Any ideas would be much appreciated. Thnaks.
Most themes have different pages from the home page (usually home.php) and the other pages. There are a myriad of pages that can be used for posts, author pages, category pages, etc. Check your theme files. The most common thing is to have everything but the home page run through index.php.
Yeah, I think you missed some other files. :)
laurie1smith
Member
Posted 16 years ago #
Thanks for that. Have changed the Divs on other files to match the index.php and that seems to have worked. How do you make it so that everything but the home page runs through the index.php?
It's default behavior. Read up on the template hierarchy:
http://codex.wordpress.org/Template_Hierarchy
laurie1smith
Member
Posted 16 years ago #