Support » Fixing WordPress » Remove tag links after posts

  • Resolved dcrough

    (@dcrough)


    I would like to remove the tags after the posts in my WordPress site twentyten theme. I dont know if this is possible or not I’ve been scanning the forums all morning but i dont think I am asking the right questions. Can anyone help? Thank in advance!

    My site

    http://www.minglers.ca/wordpress/?cat=4

Viewing 3 replies - 1 through 3 (of 3 total)
  • as you linked to a category archive page,
    edit loop.php:

    remove the following section (about 30 lines from the end of the file):

    <?php
    					$tags_list = get_the_tag_list( '', ', ' );
    					if ( $tags_list ):
    				?>
    					<span class="tag-links">
    						<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
    					</span>
    					<span class="meta-sep">|</span>
    				<?php endif; ?>

    for single posts, the respective code is in functions.php under function twentyten_posted_in() { and is a bit more complicated to edit – report back, if you need to remove the tag list form the single post(s) as well.

    You can remove from single posts on the dashboard, edit posts. Just click on the little x next to the tag and it will magically disappear.

    Thread Starter dcrough

    (@dcrough)

    THanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove tag links after posts’ is closed to new replies.