• I am currently having the following problem:
    I have changed the template that was provided with wp. I’d like to put the category, the author and the time below the posting in one row.
    However, when I simply copy&paste the line that was actually below each headline, wp outputs it like this
    Comments (0) |
    * General
    | Sonja @ 10:47 Edit This
    The only thing I thought of was to take a look at the the_category() function, but I wasn’t able to find it. (Any idea where it is?) BTW, I have disabled the original CSS.
    Can anybody else give me a hint how I can change this three line layout into a one line one?
    Thanks.
    Sonja 😉

Viewing 4 replies - 1 through 4 (of 4 total)
  • Wrap it in the meta ?
    <div class="meta"><?php $lang->str('filed'); ?> <?php the_category() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>

    Oops….. you do need the meta stuff from the original css……

    You don’t need to change the function or the CSS, just the parameters
    <?php the_category (',') ?>
    People round here seem not to like using parameters, which baffles me. They’re there for a reason, presumably, why not use them?

    Super helfpul Anonymous, thanks! I was trying to figure out the comma between categories, and this is how you do it.:-)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘where is the_category() located?’ is closed to new replies.