Forums

"Filed Under"... (6 posts)

  1. calw
    Member
    Posted 8 years ago #

    I'd like to change the html output on each entry.
    I have the following under each entry:
    [code]
    <div class="posted">
    <?php the_category() ?> | <?php the_author() ?> | <?php the_time() ?> <?php edit_post_link(); ?>
    <?php link_pages('
    Pages: ', '
    ', 'number'); ?>
    <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'); ?>
    </div>
    [/code]
    What's coming up, is a list format around the category, which I don't want. Which file do I have to edit, in order to change that? I went to the header file, but couldn't find what I thought I'd be looking for. Admittedly it's late, so I'll stop for now. But I'd love any answers.
    Thanks so much in advance.

  2. Alex King
    Member
    Posted 8 years ago #

  3. calw
    Member
    Posted 8 years ago #

    I've been looking through, and what I see is this:

    <?php the_category('separator'); ?>

    That shows up as the default - an unordered list. That's what I don't want. So, I still need to know where to go to change the default on that. Thanks

  4. Nick Momrik
    Member
    Posted 8 years ago #

    Replace the word separator with whatever text or characters you want to appear int between the categories and it will not output them in an unordered list. For instance, if you put a comma (',') in there, you will get:
    category1, category2, etc.

  5. calw
    Member
    Posted 8 years ago #

    Marvelous advice - worked like a charm - thanks!

  6. eddie
    Member
    Posted 8 years ago #

    Thanks, i needed that too.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.