Possible to make different content for different themes?

Permalink
As title, is it possible make different themes with with different content?
Theme A have content A
Theme B have content B

content A will only show when i selected theme A.

 
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
You can easily do this by css. In your page you have both content A and content B.
For theme A you have to set the css for content B to display: none and for theme B you have to set the css for content A to display: none.

Rony
hseleng replied on at Permalink Reply
Hi, Rony. Thanks for your reply.
I think you may misunderstanding what i said.
What i mean is each theme come with their own content & the content is editable.
is it possible?
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
I think I understand you clearly. Actually its not possible in a straight way. So I write down the trick.
Suppose you have a theme with page type left_sidebar.php

In that page you have two div.
<div id="content_a"> 
<?php    
$a = new Area('Main A');
$a->display($c);
?>
</div>
<div id="content_b"> 
<?php    
$a = new Area('Main B');
$a->display($c);
?>
</div>


Now you need to do another theme with the same page type and same code. The difference will be for "theme A" you have to write a css like
#content_b{display: none}

And for "theme B" the css will be like
#content_a{display: none}

So the different content will load for different theme.

Note: Its not possible to do it straight way as it will use the same database tables.

Rony