Title: Ander's Replies | WordPress.org

---

# Ander

  [  ](https://wordpress.org/support/users/ander/)

 *   [Profile](https://wordpress.org/support/users/ander/)
 *   [Topics Started](https://wordpress.org/support/users/ander/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ander/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ander/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ander/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ander/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ander/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to add javascript with special shortcode only](https://wordpress.org/support/topic/how-to-add-javascript-with-special-shortcode-only/)
 *  Thread Starter [Ander](https://wordpress.org/support/users/ander/)
 * (@ander)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/how-to-add-javascript-with-special-shortcode-only/#post-1265421)
 * 1) Yes, it was copy-paste error )
 * 2) According to “init” – I tried to find out an another hook.
 * Yes, I thinked that they are precessed in the different contexts, so I can not
   add a javascript to header already.
 * it would be the great if “is_shortcode” presents for headers 🙂
 * Is there any way to use javascript on specific template only using is_page_template()
   like is_admin ?

Viewing 1 replies (of 1 total)