<?php the_category() ?> creates ul? (2 posts)

  1. Anonymous
    Posted 11 years ago #

    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?

  2. Anonymous
    Posted 11 years ago #

    ps: if I put something between the (), eg the_category(something) this doesn't happen, and it displays normal.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.