ThemeShaper Forums » Thematic


Category template

(2 posts)
  • Started 4 years ago by Nathan
  • Latest reply from Nathan
  • This topic is not resolved
  1. Hi everyone,
    I'm new to the forum but have been combing over the guidance within for a couple months now and have built a couple sites using TS child themes. Thanks Ian and Chris and others! My question is probably very simple to answer: How do I make a category template? Say for cat_ID=3? I would like to put div's in and configure with css.

    Posted 4 years ago #
  2. OK, I figured out the styling of a category and I made a page template but the contents show in the wrong area. Here is the code:

    Template Name: Signup Template
    include( TEMPLATEPATH . '/index.php' ); //this loads the thematic parent framework index.php
    global $options;
    foreach ($options as $value) {
    if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; }
    else { $$value['id'] = get_option( $value['id'] ); }
    <?php get_header() ?>

    <div id="container">
    <div id="content">

    <?php thematic_navigation_above();?>

    <?php get_sidebar('index-top') ?>

    <?php thematic_above_indexloop() ?>

    <?php thematic_indexloop() ?>


    function childtheme_second_loop() {

    if (is_page(sign-up)) {
    } else {

    add_action('thematic_below_indexloop', 'childtheme_second_loop' ); ?>

    <?php thematic_below_indexloop() ?>

    <?php get_sidebar('index-bottom') ?>

    <?php thematic_navigation_below();?>

    </div><!-- #content -->
    </div><!-- #container -->

    <?php thematic_sidebar() ?>
    <?php get_footer() ?>

    What happens is the posts show up outside the wrapper below the page. Any ideas?

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.