• Problem with a WordPress Theme
    2 replies, posted
so I've been coding a WordPress theme for my site and I've run into a problem, links after the first post title aren't clickable, they don't even highlight when you hover over them anymore. Here is the code from index.php [php] <?php /** * @package WordPress * @subpackage FrogPress_Theme */ get_header(); ?> <section id="content"> <ol id="posts-list"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <li><article class="entry"> <hgroup> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('F jS, Y'); ?></small> </hgroup> <?php the_content(__('Read the rest of the entry &raquo;')); ?> <?php comments_template(); // Get wp-comments.php template ?> <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> </article></li> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> </ol> <?php posts_nav_link(' — ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?> </section> <?php get_sidebar(); ?> <?php get_footer(); ?> [/php] Can anyone see an issue in that code.
[php]<?php comments_template(); // Get wp-comments.php template ?>[/php] I think it's this line. The end tag of your PHP segment seems to be getting commented out. Try something as as simple as : [php]<?php comments_template(); /* Get wp-comments.php template */ ?>[/php] I'm not positive that was your problem, but it wouldn't hurt to try. :)
I'd say that would be the problem. [editline]blah[/editline] Shit, Just saw the post date.. oh well.
Sorry, you need to Log In to post a reply to this thread.