Support » Fixing WordPress » <?php the_category() ?> creates ul?

  • I’m creating my “custom” page and used the following part:

    <div class="post">
    <h3 class="storytitle" id="post-<?php the_ID(); ?>">" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></h3>
    <div class="meta"><?php _e("Filed under:"); ?> <?php the_category() ?> — <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
    <div class="storycontent">
    <?php the_content(); ?>
    <div class="feedback">
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    <?php trackback_rdf(); ?>
    <?php include(ABSPATH . 'wp-comments.php'); ?>

    Now the strange thing is that this generates an ul where my category comes. Why does this happen here but not in the (though same) part of the original?

Viewing 1 replies (of 1 total)
  • ps: if I put something between the (), eg the_category(something) this doesn’t happen, and it displays normal.

Viewing 1 replies (of 1 total)
  • The topic ‘<?php the_category() ?> creates ul?’ is closed to new replies.