Multiple templates in a theme


Author Message
Azari

Posted: 4/20/2014
Quote message 

I need a bit of help. I've created a Wordpress theme with two columns (a side column on the left and a content column) which I will use in most of the site. However, several pages that I have requires a wide format, meaning I have to drop the left column.

Wordpress can have multiple templates by editing the page.php. I've done another theme with a single wide column, but I cant figure out what to do next. The page.php produced by Artisteer don't seem to have anything I could modify in reference to the columns and stuff.

I would describe my coding skills as "enthusiastic novice". Please be nice ;). Many thanks!
 
Antonina
Artisteer Team

Posted: 4/20/2014
Quote message 

Hello Azari,

I would suggest you a different option, that you might wish to use. You can disable the default (left) sidebar on the pages where you do not need it. For this please go to Wordpress Admin -> Pages, select the page you would like to remove the sidebar from, for editing, and find Theme Options on the right. Unclick the "Show default sidebar on page" box and save changes. Do the same for all the pages you would like to disable the sidebar on.
 
Azari

Posted: 4/20/2014
Quote message 

Thanks Antonina,

That sounds exactly like what I needed! However, I unchecked the show default sidebar thingy, hit save, but when the page refreshed, the check mark is back on despite the status showing "Page Updated".

In fact, if I change anything on Theme Options and hit save, the previous setting will return when the page refreshed. Any ideas?
 
Azari

Posted: 4/21/2014
Quote message 

Quote Antonina:

Hello Azari,

I would suggest you a different option, that you might wish to use. You can disable the default (left) sidebar on the pages where you do not need it. For this please go to Wordpress Admin -> Pages, select the page you would like to remove the sidebar from, for editing, and find Theme Options on the right. Unclick the "Show default sidebar on page" box and save changes. Do the same for all the pages you would like to disable the sidebar on.


I tried looking through the web for some possible solutions, but it seems not many people have this problem. I went to Wordpress' forums to get help as well, but they suggested me to refer to you guys instead.

Although the solution you suggested is very elegant, it's not working for me (due to the weird can't save situation), would it be possible to show me how to get the multiple templates done as I mentioned in the original post?

Thanks!

 
Daphne

Posted: 4/21/2014
Quote message 

Hi,

Try the wordpress plugin jonradio Multiple Themes. It works with Artisteer's latest version.

Daphne
 
Azari

Posted: 4/21/2014
Quote message 

Quote Daphne:

Hi,

Try the wordpress plugin jonradio Multiple Themes. It works with Artisteer's latest version.

Daphne


Thanks Daphne. That looks like something that could solve my problem!
 
techtom

Posted: 6/21/2014
Quote message 

any reason you could not just use css to hide the column on the pages it did not want it to show on?

add something like the following to your style.css file: .page-id-# .art-sidebar1 {display:none;}

page-id-# will be changed to whatever page id you don't want the sidebar to show on.
 
Richard

Posted: 6/24/2014
Quote message 

"jonradio Multiple Themes" looks pretty good, that's something i may want to use. There is a way to have a plugin that can give you instant columns when editing the pages, but i didnt want to do that again.

Does jonradio Multiple Themes work well? Easy to use? You just create the theme thro Artisteer, blank column then edit in the wordpress page editor? thanks
 
techtom

Posted: 6/26/2014
Quote message 

I will usually just design a 3 column layout and then set pages up as needed and always have the option of 1 column, left or right column, 2 column or 3 column.
 
Mary

Posted: 11/18/2014
Quote message 

Quote techtom:

any reason you could not just use css to hide the column on the pages it did not want it to show on?

add something like the following to your style.css file: .page-id-# .art-sidebar1 {display:none;}

page-id-# will be changed to whatever page id you don't want the sidebar to show on.


I used to do this before Artisteer came out with the option to just turn off the sidebars that I didn't want, But your solution (thank you) doesn't answer the question as to why we have the option to turn off a left or right sidebar, yet suddenly even though you "untick" the box for a particular page, it won't save that option. I've used this for years, and it's never been a problem before. Anyone have the same issue? Is this a Wordpress over ride, do you think? I can't turn Wpautop off either.

 
Bob C

Posted: 11/23/2014
Quote message 

Quote Mary:


I used to do this before Artisteer came out with the option to just turn off the sidebars that I didn't want, But your solution (thank you) doesn't answer the question as to why we have the option to turn off a left or right sidebar, yet suddenly even though you "untick" the box for a particular page, it won't save that option. I've used this for years, and it's never been a problem before. Anyone have the same issue? Is this a Wordpress over ride, do you think? I can't turn Wpautop off either.



Sounds like it is a server configuration error and not with the theme or wordpress itself. Best to speak with the server admin to ensure everything is up to date.

 
gcm

Posted: 11/24/2014
Quote message 

I remembered I had this problem a couple of years ago when I was using IE 8. I would make a change but the change did not take place. I switched to Chrome and the change would take place. Don't know if this will not work or not, but you might try switching to a different browser.

Quote Azari:

Thanks Antonina,

That sounds exactly like what I needed! However, I unchecked the show default sidebar thingy, hit save, but when the page refreshed, the check mark is back on despite the status showing "Page Updated".

In fact, if I change anything on Theme Options and hit save, the previous setting will return when the page refreshed. Any ideas?


 
Philip

Posted: 11/26/2014
Quote message 

I have had this taking the tick off and it returns. God to the screen options and turn stuff on. In my case the option to show the primary side bar was presented twice. When I turn it oiff in bath the options it held. Hope that helps