Errors when trying to implement Kitten’s Cats
I am trying to get Kitten’s Category hack to work. I’ve enabled the plugin via my admin panel and replaced the code at the start of my file as instructed.
Here’s my code:
<!-- // loop start -->
<?php hide_category_posts( 'category=1' ); ?>
<?php if ($hcp_posts) : foreach ($hcp_posts as $post) : start_wp(); ?>
<h3 class="storytitle" id="post-<?php the_ID(); ?>">" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></h3>
<span class="thedate"><?php the_time('l jS F, Y') ?></span>
<?php the_content(); ?><?php link_pages("
<p class="comments"><?php comments_popup_link("comments ?", "1 comment", "% comments") ?>
<?php include ("wp-comments.php"); ?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php } ?>
and I get this error: http://www.jamblo.org/index_cats.php
I noticed that the “}” is in question appears in the closing PHP tag. Removing this causes a different error: http://www.jamblo.org/index_cats2.php
I usually pride myself in being able to troubleshoot my way out of such a problem, but with limited PHP knowledge I really need some help!
Anybody? My site is here if you need to have a closer look: http://www.jamblo.org
Thanks in advance
- The topic ‘Errors when trying to implement Kitten’s Cats’ is closed to new replies.