• Resolved markcool

    (@markcool)


    Hi,
    I want my categories to display as a list, title only.
    The theme has an option for displaying excerpts, which I have done, but I haven’t been able to figure out list by title only.

    This help came from another WP.org forum thread, “just delete the template tag <?php the_content() ?> from your theme’s category.php file or, if it doesn’t exist, from the archive.php file”, but I haven’t found the identical code in the archives.php file. There is no category.php in Calotropis.

    I am posting the archive.php content here if anyone can help. My site is ivegotahammer.com
    Thank you!

    <?php get_header();extract(itx_get_option(‘front’));?>
    <div id=”main” class=”wrap”>
    <div id=”mainwrap”>
    <div id=”content”>
    <div id=”contentpad”>
    <div id=”contentwrap”>
    <?php
    $column=itx_get_option(‘front’,’column’);
    if (!is_paged()){
    itx_sidebar(‘name=innertop’);
    if ($type==’fe’||$type==’fl’){
    if (have_posts()){itx_archive_title();the_post();itx_content(‘featured’);}
    if ($wp_query->post_count<2) $nosearch=1;
    }
    }

    if ($type==’fe’||$type==’fl’){
    if(!get_option(‘sticky_posts’)){
    $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    $offset=’&offset=’.(($paged-1)*get_query_var(‘posts_per_page’)+1);
    } else $offset=’&caller_get_posts=1′;
    query_posts($query_string.$offset);
    }

    if (have_posts()) {
    if (!($type==’fe’||$type==’fl’)||is_paged()){itx_archive_title();}
    if ($type==’fl’) echo ‘<div class=”singlepost”>’;
    $i=0;
    while (have_posts()) {
    the_post();
    if ($type==’traditional’) itx_single_content(‘singlepost’);
    elseif ($type==’fl’) itx_line_content(‘linepost’);
    else {
    $i++;
    $postwrap=ceil($i/$column);
    itx_content(‘posts postwrap-‘.$postwrap);
    }
    }
    if ($type==’fl’) echo ‘</div>’;
    } elseif (empty($nosearch)) itx_notfound();

    ?>
    <div class=”clear”></div>
    <?php if (!is_paged()){itx_sidebar(‘name=innerbottom’);}?>
    </div>
    <div class=”clear”></div>
    <?php wp_pagenavi();?>
    </div>
    </div> <!–/content–>
    <?php itx_sidebar(‘name=sidebar&pos=left’);itx_sidebar(‘name=sidebar&pos=right’);?>
    </div>
    </div> <!–/main–>
    <?php get_footer(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • there is an option to display “line posts” (beside traditional & excerpts), that means title only.

    Thread Starter markcool

    (@markcool)

    Thank you.

    Thread Starter markcool

    (@markcool)

    The one on my Calotropis 1.4.1 is “featured and line”, which is better, but not a clean list of titles like I’m looking for.

    my site: ivegotahammer.com

    I think that there is another way to achieve what I want, but I’m leaving this as is for now. There’s always something new to learn and develop with WP!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calotropis- how to change categories to list view’ is closed to new replies.