Title: Customising Link Relationship
Last modified: August 19, 2016

---

# Customising Link Relationship

 *  [mrdesign](https://wordpress.org/support/users/mrdesign/)
 * (@mrdesign)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/customising-link-relationship/)
 * Hi,
 * When adding a link to a post is there any way of changing the “link relationship”
   to anything I want? I have the “wp super edit” plugin which allows me to select
   one from a list but I want to be able to enter whatever I want.
 * I’ve been looking for answers for hours and am completely stuck so any help would
   be hugely appreciated.
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Thread Starter [mrdesign](https://wordpress.org/support/users/mrdesign/)
 * (@mrdesign)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/customising-link-relationship/#post-1230679)
 * Figured it out!
 * I edited the file “wp-super-edit/tinymce_plugins/advlink/link.htm”
 * I changed lines 197-219 from:
 *     ```
       <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
       							<td><select id="rel" name="rel">
       									<option value="">{#not_set}</option>
       									<option value="lightbox">Lightbox</option>
       									<option value="alternate">Alternate</option>
       									<option value="designates">Designates</option>
       									<option value="stylesheet">Stylesheet</option>
       									<option value="start">Start</option>
       									<option value="next">Next</option>
       									<option value="prev">Prev</option>
       									<option value="contents">Contents</option>
       									<option value="index">Index</option>
       									<option value="glossary">Glossary</option>
       									<option value="copyright">Copyright</option>
       									<option value="chapter">Chapter</option>
       									<option value="subsection">Subsection</option>
       									<option value="appendix">Appendix</option>
       									<option value="help">Help</option>
       									<option value="bookmark">Bookmark</option>
       									<option value="nofollow">No Follow</option>
       									<option value="tag">Tag</option>
       								</select>
       							</td>
       ```
   
 * to
 *     ```
       <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td>
       							<td><input type="text" id="rel" name="type" value="" /></td>
       ```
   
 * I can now input my own link relationship!

Viewing 1 replies (of 1 total)

The topic ‘Customising Link Relationship’ is closed to new replies.

## Tags

 * [custom link](https://wordpress.org/support/topic-tag/custom-link/)
 * [link](https://wordpress.org/support/topic-tag/link/)

 * 1 reply
 * 1 participant
 * Last reply from: [mrdesign](https://wordpress.org/support/users/mrdesign/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/customising-link-relationship/#post-1230679)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
