WordPress.org

Forums

[resolved] Category and tag lists (7 posts)

  1. Josť Freitas
    Member
    Posted 5 years ago #

    Hello,
    I'm using Fusion (great theme) in a multiauthor blog. I'd like to take out the category list in postinfo and the tag list in the end of the post.
    I've tried some possibilities but no luck.
    How can i do it?
    Best regards

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    There are currently more than 850 themes in the WordPress Themes directory. Most people aren't intimately familiar with every one of them, so a link to your site would help...

  3. Josť Freitas
    Member
    Posted 5 years ago #

    Hi.
    Here it is: aventar.eu
    best regards.

  4. MichaelH
    Member
    Posted 5 years ago #

    Probably delete this code in your theme's index.php

    get_the_category_list(', '),

    Note: that code above is on a line with a number of other things so be careful...

    and

    <?php
             $posttags = get_the_tags();
             if ($posttags) { ?>
              <p class="tags"><?php the_tags(''); ?></p>
            <?php } ?>

    Backup your WordPress files before beginning. See WordPress Backups.

  5. Josť Freitas
    Member
    Posted 5 years ago #

    Hello, MichaelH.
    Thanks for your help.
    But if i take

    get_the_category_list(', '),
    out, it deletes all the line, with the authors name, the authors link and the time.
    It erases all the line, and i just want to take out the categories.

  6. MichaelH
    Member
    Posted 5 years ago #

    Oops, sorry--you also have to fix this bit in that same statement:

    from

    printf(__('Posted by %s in %s on %s','fusion')

    to

    printf(__('Posted by %s on %s','fusion')
  7. Josť Freitas
    Member
    Posted 5 years ago #

    Yeap! Worked.
    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags