it will be similar to this in the home.php file
remove this line–
<span class=”cat-links”><?php printf( __( ‘Posted in %s’, ‘hybrid’ ), get_the_category_list(‘, ‘) ) ?></span>
it should apply similar to the other pages you want to remove it from
always make a back-up of the file before editing
yeah I looked at those template files, odd. but you havve a template just for meta in there “loop-meta.php”
find it and you can adjust this stuff:
<div class="loop-meta">
<h1 class="loop-title"><?php echo get_post_field( 'post_title', $wp_query->get_queried_object_id() ); ?></h1></div><!-- .loop-meta --><?php elseif ( is_category() ) : ?>
<div class="loop-meta archive-info category-info">
<h1 class="loop-title archive-title category-title"><?php single_cat_title(); ?></h1><div class="loop-description archive-description category-description"><?php echo category_description(); ?></div><!-- .loop-description -->
</div><!-- .loop-meta -->
yeah I looked at those template files, odd. but you havve a template just for meta in there “loop-meta.php”
find it and you can adjust this stuff:
<div class="loop-meta">
<h1 class="loop-title"><?php echo get_post_field( 'post_title', $wp_query->get_queried_object_id() ); ?></h1></div><!-- .loop-meta --><?php elseif ( is_category() ) : ?>
<div class="loop-meta archive-info category-info">
<h1 class="loop-title archive-title category-title"><?php single_cat_title(); ?></h1><div class="loop-description archive-description category-description"><?php echo category_description(); ?></div><!-- .loop-description -->
</div><!-- .loop-meta -->
Should I delete those lines?
not sure, this is kind of odd looking to me, weird theme. But this appears to be what you’re looking for. I’d be careful. back up!
Removing it doesn’t work.
lets try this another way, post a link to the site and I’ll see if I can get the css.
crude, but the best I could do:
.entry-meta {
display:none;
}
It also removes the comment link. But comments are expanded in single post view as ussual, so maybe it can work for you anyway.
At least untill you can find where it is in your template. I just don’t know what’s going on in that code, doesn’t have a lot of the ussual stuff I see. I’m afraid to mess with it.
Thanks for trying!
Yea, it even I thought it looked odd, even to me. So in which file should I put this code in? Style.css?
and by the way, that meta template is for search results only. I have no idea where that link is.