Title: Heading text extralink
Last modified: August 20, 2016

---

# Heading text extralink

 *  [meg@tenants-rights.org](https://wordpress.org/support/users/megtenants-rightsorg/)
 * (@megtenants-rightsorg)
 * [14 years ago](https://wordpress.org/support/topic/heading-text-extralink/)
 * Hi everyone,
    I am having trouble getting an extralink to show up in the heading
   text on the front page. When I do a link to in the text it doesn’t allow you 
   to access the website (it isn’t underlined).
 * Here is our website:
    [http://www.tenants-rights.org](http://www.tenants-rights.org)
 * In the headline section we would like the text “purchase tickets here” to allow
   you to click on it and go to that page.
 * Please help! Thoughts??

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

 *  [luckdragon](https://wordpress.org/support/users/luckdragon/)
 * (@luckdragon)
 * [14 years ago](https://wordpress.org/support/topic/heading-text-extralink/#post-2786379)
 * you are saying you want it as part of the headline title? or part of the_excerpt?
 *  Thread Starter [meg@tenants-rights.org](https://wordpress.org/support/users/megtenants-rightsorg/)
 * (@megtenants-rightsorg)
 * [14 years ago](https://wordpress.org/support/topic/heading-text-extralink/#post-2786381)
 * In the excerpt, in the body of the text
 *  [luckdragon](https://wordpress.org/support/users/luckdragon/)
 * (@luckdragon)
 * [14 years ago](https://wordpress.org/support/topic/heading-text-extralink/#post-2786388)
 * just for that post?
 *  [luckdragon](https://wordpress.org/support/users/luckdragon/)
 * (@luckdragon)
 * [14 years ago](https://wordpress.org/support/topic/heading-text-extralink/#post-2786389)
 * actually, there’s another way..
 * use the “extra fields” option in wordpress..
 * create an extra field (I’ll call it extraCode for this code) and put in the value
   the extra code/text you want it to display
 * then modify your template so instead of showing just the_excerpt(); it shows:
 *     ```
       <?php
         $extraCode = get_post_meta($post->ID, 'extraCode', true);
         if ($extraCode) :
           echo $extraCode;
         endif;
         the_excerpt();
       ?>
       ```
   
 * then, anytime you want to do that, you just add the extraCode extra field to 
   your post, and it will get displayed before the excerpt

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

The topic ‘Heading text extralink’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [luckdragon](https://wordpress.org/support/users/luckdragon/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/heading-text-extralink/#post-2786389)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
