• Resolved chris-melchior

    (@chris-melchior)


    I am using Classic Theme (with WordPress MU, 2.8.5), and would like to prevent any Tags showing at the top posts. How to change this?

    thanks in advance for any info!

    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • Look for this this code in the themes posts template

    <?php the_tags(); ?>

    and remove it along with any div or p tags that are wrapped around it.

    Thread Starter chris-melchior

    (@chris-melchior)

    OK, thanks. Where would I find the “posts template”?

    The only files I have in themes/classic, are :-

    comments-popup.php
    comments.php
    footer.php
    functions.php
    header.php
    index.php
    rtl.css
    screenshot.png
    sidebar.php
    style.css

    I’ve got a “page.php” file in both “themes/default” and “themes/home”, is it one of those?

    Thanks!
    Chris

    It is in the index.php on line 15 that contains:
    <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> — <?php the_tags(__('Tags: '), ', ', ' — '); ?> <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>

    This is what shows all the meta data about the post. Remove the whole line or individual items you do not want to show.

    Or you could edit your style.css and add this line to it:

    .meta {display:none;}

    Thread Starter chris-melchior

    (@chris-melchior)

    That works perfectly, thanks very much!!

    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to prevent Tags showing at beginning of post, in Classic Theme?’ is closed to new replies.