Title: Template Code
Last modified: August 24, 2016

---

# Template Code

 *  [gigabyte7310](https://wordpress.org/support/users/gigabyte7310/)
 * (@gigabyte7310)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/template-code-4/)
 * I have a site that has a link in the header on my page that I would like to popup
   a modal form. Currently I have this working by putting the shortcode in the page
   with the txt of just . so it’s not really seen and then I copied the html attributes
   of the link the shortcode generates to the link in my header.php of my theme.
   I’d really like to not have to put the shortcode in my pages at all. Is there
   a way to accomplish this?
 * [https://wordpress.org/plugins/ninja-forms-modal/](https://wordpress.org/plugins/ninja-forms-modal/)

The topic ‘Template Code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ninja-forms-modal_7f3923.svg)
 * [Ninja Forms - Modal](https://wordpress.org/plugins/ninja-forms-modal/)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-forms-modal/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-forms-modal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-forms-modal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-forms-modal/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [gigabyte7310](https://wordpress.org/support/users/gigabyte7310/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/template-code-4/)
 * Status: not resolved