Removing link from comments_number
-
Hello ??
I’m having a little problem with this code:
<div class="com_num"> <?php comments_number(__('<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">0</a> comments', 'kubrick'), __('<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">1</a> comment', 'kubrick'), __('<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">% </a> comments', 'kubrick'), '', __('Comments closed', 'kubrick') ); ?> </div>
What’s doing is, when i click it, it takes me to a 404 page.
As this link ins’t important for me, i tried to replace the<a>
tag with a<h1>
, but it removed the number, leaving only “comments” as text.Is there other way to, at least, deactivate the
<a>
tag?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Removing link from comments_number’ is closed to new replies.