Title: where to paste fancybox plugin javascript
Last modified: August 20, 2016

---

# where to paste fancybox plugin javascript

 *  [ckahle33](https://wordpress.org/support/users/ckahle33/)
 * (@ckahle33)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/where-to-paste-fancybox-plugin-javascript/)
 * Hello,
 * I’m not sure if this is the right section to ask this but,
 * I am wondering where to copy the javascript code from say lightbox or fancy box.
   I think its in the header.php file but not sure.
 * I am helping a friend with a site and he has edited a lot of the php files and
   style sheets. When I do a simple install and activation on Lightbox Plus, and
   make that the default WP Gallery, the images open in a new page instead of the
   fancy box.
 * Where can i insert the javascript so that it over-rides what has already been
   edited?
 * Thanks,
 * Craug

The topic ‘where to paste fancybox plugin javascript’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [ckahle33](https://wordpress.org/support/users/ckahle33/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/where-to-paste-fancybox-plugin-javascript/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
