I have 3 custom post formats. One is for image, one for video, and, one for gallery besides the default post and they each have a view comments link on the bottom right corner at the end of the post.
Here is the code for that(it's in every formats php file):
<div class="post-comments">
<p class="postcoments"> <a href="<?php comments_link(); ?>"> View responses </p>
</div> --></a> </div>
Check it out here: http://benlevywebdesign.com/wordpress
On the single.php page I would like to get rid/remove the view comments link because you don't need to see it when you are viewing the comments already(its redundant).
I am new at wp and php so I need help
I have already read the wp codex that tells you to just make single.php and single-post_type.php and I didn't work. I am not sure what to do now.
Here is the current loop code in the single.php file: (it says in comment code "You are now viewing single.php" to see if goes to the single.php page as a test)
<!-- GRID 12 You are now viewing single.php -->
<div class="grid_12">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part('content', get_post_format()); ?>
<?php endwhile; else: ?>
<!-- In case no posts were found -->
<div class="post-cf">Hmmm? Can't. Find. Post.
</div>
<?php endif; ?>
<!-- CLOSE GRID 12 -->
</div>