Title: Custom Menu Links
Last modified: August 20, 2016

---

# Custom Menu Links

 *  [auradesigns](https://wordpress.org/support/users/auradesigns/)
 * (@auradesigns)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/custom-menu-links/)
 * Hi,
 * I am having a javascript issue for one of my clients websites.
 * In the main navigation he wants to be able to add a custom link that calls a 
   javascript function, which will open a new window with a certain size and certain
   elements loaded.
 * I placed the necessary javascript code in the header.php
 * Running a test link on a page it opens fine.
    [RESERVE NOW](https://wordpress.org/support/topic/custom-menu-links/reserv_now()?output_format=md)
 * However when I put it in the menu of custom links wordpress clears the javascript
   and gets rid of it.
 * Is there a way to implement javascript into the menu?

The topic ‘Custom Menu Links’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [auradesigns](https://wordpress.org/support/users/auradesigns/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/custom-menu-links/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
