• Hello. I’ve just installed the Portfolio Press 0.7.5 theme for my website: iestynroberts.com – and was wondering if anyone knew how to hide the Tags from the main page? They’re currently located at the end of every post, and it makes the website look cluttered.

    I want to keep them on the individual posts (if you clicked a post title – and was taken to just that post) that’s ok – but I’d like to hide them from the main view.

    Anyone got any suggestions?
    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • I take it that it’s this bit of output (and its equivalent on other posts) that you’re wanting to suppress:

    Tagged 11secondclub.com, 3d Animation, Baseball Swing, Cartoony Animation, Goofy inspired, Kenny Roy, Maya, mini-challenge, Norman Maya

    I’m also assuming that you’re just talking about your home page (or a single blog page rather than any number of category pages) and that you’re going to leave the home page as a Posts page.

    That being the case, we’re looking at the output from home.php if it exists in your theme, or index.php if not. In many themes, this will lead you to loop.php.

    Somewhere at the end of this trail, you should see some code that looks a lot like this:

    <?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; ?>

    As you can see, this is from the twenty ten theme, but you should be able to find something similar. When you have, just delete it: although I would strongly suggest creating a child theme if you haven’t done so already, and deleting it from there.

    Dach chi’n siarad Cymraeg, gyda llaw?

    Cheers

    PAE

    Thread Starter IestynR

    (@iestynr)

    Helo Peredur – yndw wir! Cymraeg yw fy iaith gyntaf! Diolch yn fawr am yr help – dwi wedi medru cael gwared â’r tagiau heb ddim problem.

    Thank you, I’ve managed to get rid of the tags from the main body, which is great!
    Thank you!

    Diolch yn fawr!

    Gwych! O’n i’n meddwl mai Cymraeg bydda’ch iaith chi, o’r enw a’r lleoliad. Os ydach chi isio help yn y dyfodol, dim ots gin i os wyt ti’n cysylltu a fi’n uniongyrchol (peredur at perdur dot net).

    Great. Don’t hesitate to get in touch, privately if you want.

    Cheers

    Hwyl

    PAE

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Tags from Main Body?’ is closed to new replies.