Forums

[resolved] Remove tag links after posts (4 posts)

  1. dcrough
    Member
    Posted 1 year ago #

    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

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    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.

  3. kmessinger
    Member
    Posted 1 year ago #

    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.

  4. dcrough
    Member
    Posted 7 months ago #

    THanks!

Topic Closed

This topic has been closed to new replies.

About this Topic