WordPress.org

Ready to get started?Download WordPress

Forums

[Theme : Custom Community] HOW to hide Tags under excerpts on the main page? (4 posts)

  1. wpaaa
    Member
    Posted 2 years ago #

    Just installed this theme (it's so GOOD) with buddypress and WP3.3

    Anyone could tell me which file should I edit to hide "Tags" under excerpts on the main page? The index.php doesn't got any codes related to Tags ? ...

    The second Question is once I hide these Tags, will this tags be readable by those search engines, like google?

    http://wordpress.org/extend/themes/custom-community

    MANY THANKS

  2. auday1982
    Member
    Posted 2 years ago #

    in index file

    u see

    <?php $tags = get_the_tags(); if($tags)	{  ?>
    								<p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'cc' ), ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments »', 'cc' ), __( '1 Comment »', 'cc' ), __( '% Comments »', 'cc' ) ); ?></span></p>
    							<?php } else {?>
    								<p class="postmetadata"><span class="comments"><?php comments_popup_link( __( 'No Comments »', 'cc' ), __( '1 Comment »', 'cc' ), __( '% Comments »', 'cc' ) ); ?></span></p>
    							<?php } ?>

    remove the tag part

  3. wpaaa
    Member
    Posted 2 years ago #

    you mean which "index" file ? I've tried ~~> /wp-content/themes/custom-community/index.php

    and don't find these codes??? I even don't find any word "tags" in this file.

    Please HELP ...

  4. wpaaa
    Member
    Posted 2 years ago #

    OH Sorry, I get it ... Initially I edited this file through WP admin and now I edit through the server (don't know why the two index.php file are different?!)

    Anyway, I solved this problem. But I still want to know when I hide these tags, would those tags and their related articles be searchable by search engines like google, yahoo.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.