
|
|||
|
I plan on doing movie reviews on my site, and I would like to use the complete width of a page which means on each individual review page I would like to exclude the sidebar and keep the header and footer. I followed the steps I found on various google search result pages and also in the Wordpress codex page. They recommended grabbing a page.php from the wordpress default page or my themes page. I did, added my html, and by messing around with it a bit I got my html to show up in the page just right. But that was with the header, sidebar, and footer. When I tried to make an adjustment and not include the sidebar, it went all wacky. If someone here could PLEASE help me with this and maybe tell me what code I need to take out or change I would really appreciate it.
If someone could go so far as to just grab the original One-Theme "page.php" file and edit it and email it to me (shaolinchamber@gmail.com) so all I have to do is enter my HTML, I would gladly PAYPAL that person $20. Thank for any replies. |
|
||||
|
Okay, I think I got it. I just created a page template that has absolutely no sidebars
![]() Please see this post for the updated attachment. Just download that, unzip it, and upload to your one-theme theme folder. Then, when you go to write a page, there should be a new page template called "No Sidebar". Here's a preview: ![]() Basically, it's the page template + the search template mixed together
__________________
Last edited by mc2w; 08-22-2008 at 01:58 PM. |
|
|||
|
First off I have to say THANK YOU very much mc2w for taking the time to do this for me. I really do appreciate it.
Second, I couldn't figure out why I could not get the page to show up in Wordpress until I opened up the file. And while am no expert in coding or php and whatnot, I did notice some php code that was missing from the top of the file. (Something I learned recently when Googling how to make a custom page).... <?php /* Template Name: no sidebar */ ?> So incase anyone else downloads the No Sidebar php file, you will need to add this code at the very top of the php file, and you can really name this file anything you want where it says "Template Name". |
|
|||
|
Could someone please tell me what is the proper way to do what I want to do. I dont know if my brain is to mushy right now or not, but I do work 10 hours a day and get home around 3:00 am everynight..so please excuse me.
I wanted a Sidebar-less custom page in order to do movie reviews on. mc2w was kind enough to provide this for me, and after testing it out, it exactly what I wanted. NOW, what I will be doing with this Sidebar-less page is formatting a layout in Microsoft Frontpage, placing all parts of the review that will be in the same spot for each review, so that way when I want to write a NEW review, I just need to open up my Frontpage page and write it, name it, and copy that html over to my Sidebar-less page and publish. BUT, what I am having trouble figuring out is, if every individual movie review is its own page, these pages show up in the linkbar (im not sure what this area is called). Then I thought well if I made 1 main page titled Movie Reviews, then actually add all the following review pages as children underneath this parent page, then those will all show up in the drop down menu thing. Which I do not want either. Hopefully someone reading this can understand what I am trying to get at, and guide me into the light. Make me understand the proper way to do this. I will eventually make a page with a table in it formatted where in the first column will be the movie title, then second column across will be maybe the year the movie was made, then third column maybe the rating I gave it, and so forth. It would be easier if you could just make as many pages as you want, name them, but they dont show up anywhere unless you have them linked from somewhere, just like how I use to do in Frontpage before..lol. Am I overthinking this, is it possible to make a Page in Wordpress/One-theme and it not show up anywhere on my site unless its linked to and then clicked on? Please help. |
|
||||
|
You could always remove the pages list from the sidebar, and then manually remove the pages from the top link list and the footer link list through the one-theme plugin.
Edit: Thanks for catching the missing php. Here's an updated file: nosidebar.zip
__________________
Last edited by mc2w; 08-22-2008 at 01:57 PM. Reason: New attachment |
|
|||
|
Quote:
You have a private message. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modify Sidebar width? | mc2w | Suggestion Box | 3 | 08-07-2008 08:20 PM |