| |||||||
| Installing and Using WordPress Post all questions on installing, upgrading, moving, importing and deleting Wordpress here. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| ||||
The Kubrick theme is the default theme for every new Wordpress installation. As simple and common as this theme is, most people stick on with this theme for a couple of reasons, the top 2 being (a) it’s clean and simple (b) it works with all known Wordpress plugins including widgets.However, there is one major fault of the fault Kubrick theme: the individual “single” pages do not display the sidebar! Now, I don’t know about you but I wasn’t too happy about the fact that my side menu only appears on the main page of my blog. Why was it designed like this in the first place? Only god (and perhaps Matt) really knows. The good news is that you can do some quick edits to make sure that the sidebar is displayed on all pages. Here’s the Kubrick structure, divided into widecolumn (main content) and narrowcolumn (left sidebar) :
STEP 1: Changing Column Format You’ll need to change the individual pages style from widecolum to narrowcolumn. To do this, edit the file single.php. This files controls what appears on the individual pages. You can do this by going to Presentation > Theme Editor, and clicking on the file named “Single Post” ![]() Highlight the words wide and replace with narrow. This should squeeze the content into a smaller area and leave space for the sidebar. Step 2: Including The Sidebar Now you need to make sure the sidebar is displayed on the extra space you’ve created. On the same single.php file, scroll to the bottom… ![]() Include the above code (highlighted) right before the function that calls for the footer file. This will make sure that the sidebar is included in all pages. When you’re done, click “Update File” and save all changes. Now your sidebar should be included in all pages without breaking any code or style. kubrick themes Wordpress wordpress theme wordpress themes kubrick, themes, Wordpress, wordpress theme, wordpress themes Read the full post here... |
| ||||
| A tip for those intend to do editing for the themes here. You must know what you are doing and backup your original file before editing. Otherwise, you might need to re-install your whole theme again. Thanks Gobala for the tips....
__________________ Regards, Steven Wong Wordpress Consultant | Blog | Internet Online | AllNicheVideo | Wanna to get link to 2 PR4/PR3 high traffic sites? Go here to find out how! |
| |||
| I have a question now that I've gotten the sidebar to appear on individual pages. It's narrower on the individual pages than it is on index.php. The blog is http://www.hardingco.com/blog/. Thanks, Andrea Last edited by minervasolutions : 04-12-07 at 08:52 AM. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |