Title: Category posts adding blank hyperlink
Last modified: August 30, 2016

---

# Category posts adding blank hyperlink

 *  [kenjpete](https://wordpress.org/support/users/kenjpete/)
 * (@kenjpete)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/category-posts-adding-blank-hyperlink/)
 * The category posts in my theme are not only adding a hyperlink to the post title(
   as desired), but also adding an empty hyperlink to the same post. Here is the
   code when I view source:
 * <div class=”post”>
    <div class=”entry clearfix”> [](https://wordpress.org/guidance-news-attention-juniors/?output_format=md)
   <h3 class=”post-title”>[Guidance news – attention Juniors! <i class=”fa fa-chevron-circle-right”></i>](https://wordpress.org/guidance-news-attention-juniors/?output_format=md)
   </h3> …. </div>

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [BjScott](https://wordpress.org/support/users/bjscott/)
 * (@bjscott)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/category-posts-adding-blank-hyperlink/#post-6268907)
 * Hello,
 * Are you referring to the `<i class="fa fa-chevron-circle-right"></i>` part of
   the hyperlink?
 *  Thread Starter [kenjpete](https://wordpress.org/support/users/kenjpete/)
 * (@kenjpete)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/category-posts-adding-blank-hyperlink/#post-6268972)
 * Hmmm it looks like the code that got pasted to my original post was not complete,
   here it is again:
 * <div class=”post”>
    <div class=”entry clearfix”> [](http://wp.mw.k12.ny.us/guidance-news-attention-juniors/)
   <h3 class=”post-title”>[Guidance news – attention Juniors! <i class=”fa fa-chevron-circle-right”></i>](http://wp.mw.k12.ny.us/guidance-news-attention-juniors/)
   </h3>
 * As you can see….the 3rd line is an empty hyperlink and the 4th link repeats that
   link as part of the post title. The last part of that code between the <i> tags
   is an arrow that is part of the hyperlink.
 *  Thread Starter [kenjpete](https://wordpress.org/support/users/kenjpete/)
 * (@kenjpete)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/category-posts-adding-blank-hyperlink/#post-6268973)
 * Sorry forgot to click the code button:
 *     ```
       <div class="post">
       <div class="entry clearfix">
       <a href="http://wp.mw.k12.ny.us/guidance-news-attention-juniors/" rel="bookmark" title="Permanent Link to Guidance news – attention Juniors!"></a>
       <h3 class="post-title"><a href="http://wp.mw.k12.ny.us/guidance-news-attention-juniors/" rel="bookmark" title="Permanent Link to Guidance news – attention Juniors!">Guidance news – attention Juniors!&nbsp;<i class="fa fa-chevron-circle-right"></i></a></h3>
       ```
   
 * As you can see….the 3rd line is an empty hyperlink and the 4th link repeats that
   link as part of the post title. The last part of that code between the <i> tags
   is an arrow that is part of the hyperlink.
 *  [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * (@crouchingbruin)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/category-posts-adding-blank-hyperlink/#post-6268976)
 * I see you’ve created a child theme. Were any changes made to the `index.php` 
   or a new `category-___.php` file created in order to add the Font Awesome icon?
   I’m guessing that may be the case, that perhaps the original code for the entry
   title was duplicated in order to add the Font Awesome icon and the empty link
   tag got left in there. When I inspect [a demo page for the WP-Blossom theme](http://demo.solostream.com/wp-blossom/category/photos/cityscapes/),
   I don’t see any empty links before the entry titles. In any case, those empty
   links are harmless. I would have been concerned if they pointed to an external
   site (i.e., your site got hacked).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Category posts adding blank hyperlink’ is closed to new replies.

 * 4 replies
 * 3 participants
 * Last reply from: [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/category-posts-adding-blank-hyperlink/#post-6268976)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
