Forums

[resolved] Category and tag lists (7 posts)

  1. josefreitas2
    Member
    Posted 2 months 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
    Member
    Posted 2 months 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. josefreitas2
    Member
    Posted 2 months ago #

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

  4. MichaelH
    moderator
    Posted 2 months 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. josefreitas2
    Member
    Posted 2 months 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
    moderator
    Posted 2 months 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. josefreitas2
    Member
    Posted 2 months ago #

    Yeap! Worked.
    Thanks.

Reply

You must log in to post.

About this Topic

Tags