Thank you very much! I got the tags4page plugin to work without problems, I am however having problems with page2cat. I edited the archive.php but with the theme I use it looks a lot different than the default:
<?php get_header(); rewind_posts(); ?>
<div class="span-<?php
$sidebar_state = get_option('T_sidebar_state');
if($sidebar_state == "On") {
echo "15 colborder home";
}
else {
echo "24 last";
}
?>">
<?php
query_posts($query_string.'&posts_per_page=24');
if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h3 class="sub"><?php single_cat_title(); ?></h3>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h3 class="sub">Posts Tagged ‘<?php single_tag_title(); ?>’</h3>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h3 class="sub">Archive for <?php the_time('F jS, Y'); ?></h3>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h3 class="sub">Archive for <?php the_time('F, Y'); ?></h3>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h3 class="sub">Archive for <?php the_time('Y'); ?></h3>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h3 class="sub">Author Archive</h3>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h3 class="sub">Blog Archives</h3>
<?php } ?>
<div class="clear"></div>
<div class="content">
<?php while (have_posts()) : the_post(); ?>
<div class="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title() ?></a></h2>
<?php include (THEMELIB . '/apps/multimedia.php'); ?>
<?php the_content(); ?>
<div class="clear"></div>
<p class="postmetadata"><?php the_time('M d, Y') ?> | <?php the_category(', ') ?> | <?php comments_popup_link('Leave A Comment »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', '| ', ''); ?> </p>
</div>
<hr />
<?php endwhile; ?>
<div class="clear"></div>
<div class="nav-interior">
<div class="prev"><?php next_posts_link('« Older Entries') ?></div>
<div class="next"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<div class="clear"></div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php endif; ?>
</div>
</div>
<?php
$sidebar_state = get_option('T_sidebar_state');
if($sidebar_state == "On") {
get_sidebar() ;
}
else {
echo "";
}
?>
<!-- Begin Footer -->
<?php get_footer(); ?>
Where would I put the hack? I got it to work somewhat by fiddling around with the single_cat line but then headline built into the theme disappeared. Can anyone tell me what to do?