After getting the child theme’s index.php done, from previous theme development experiences, I imagine you already know what I need to do for single.php and page.php. Nothing fancy, copy, past and delete the extra.
single.php
Change
<?php the_excerpt(); ?>
to
<?php the_content(); ?>
Add this line to support multiple pagination.
<?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>') ?>
Then I add comments template after page navigation
<?php comments_template('', true); ?>
Switch all widget area’s name to single
<?php get_sidebar('index-bottom') ?>
to
<?php get_sidebar('single-bottom') ?>
page.php
Apart from changing the widget area name again, I only added one extra line. Because the default thematic theme have a drop down menu design for sub pages which does not go well with my textured theme, I added this extra line for sub pages under post title.
<?php $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0'); if ($children) { ?> <?php echo $children; ?> <?php } ?>
Footer.php
Only simple copy, past add “subsidiary” widget area.
<?php global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?> </div><!-- #main --> <?php thematic_abovefooter(); ?> <div id="footer_bg"> <div id="footer"> <?php get_sidebar('subsidiary'); ?> <div id="siteinfo"> <?php /* footer text set in theme options */ echo do_shortcode(__(stripslashes(thematic_footertext($thm_footertext)), 'thematic')); ?> </div><!-- #siteinfo --> </div><!-- #footer --> </div><!-- #footer_bg --> <?php thematic_belowfooter(); ?> </div><!-- #wrapper .hfeed --> <?php wp_footer() ?> <?php thematic_after(); ?>
Finally, all done. the theme is free for downloading soon.




Brilliant post! I’ve been busy making some themes myself, and what started out as just one theme ended up as over 20 wordpress sales page themes!
[Reply]
Nice explanation
[Reply]