Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter tjdesign

    (@tjdesign)

    hmm i thought about some php something like

    <?php wp_list_categories('title_li=&include=3,5,6,8,7'); ?>
    <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
    <?php endwhile; ?>
    <?php else : ?>
    <?php endif; ?>

    This works but the titles are displayed like:
    category a (clicked)
    category b
    category c
    post title a (category a)
    post title b (category a)
    post title c (category a)

    thats not really good looking and it makes no sense

    and when i click on a post the category post titles disappear the only one thats staying is the one i’m on….

Viewing 1 replies (of 1 total)