Title: Lightbox without plugins
Last modified: August 30, 2016

---

# Lightbox without plugins

 *  [Khadesa](https://wordpress.org/support/users/khadesa/)
 * (@khadesa)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/lightbox-without-plugins/)
 * Hey everyone,
    I am having some trouble implementing slimbox 2.0 on my custom
   theme site.
 * I have linked the three required files in the header.php like so:
 *     ```
       <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
       <script type="text/javascript" src="/js/slimbox2.js"></script>
       <link rel="stylesheet" href="/js/slimbox2.css" type="text/css" media="screen" />
       ```
   
 * Next, i transfer these files to the appropriate places along with images, via
   filezilla,
 * Then i use the rel=”lightbox” like this:
 *     ```
       <p>
       		<a href="<?php the_field('p1logo'); ?>" rel="lightbox" title="Beautiful, isn't it?">Click here</a> if you love star trek.
       	</p>
       ```
   
 * However, the image constantly shows in it’s own url, nothing lightboxy about 
   at all.
 * Check it out (in our work section, look for click here sentence at the top) [http://www.entirecreative.com/stone](http://www.entirecreative.com/stone)
 * Thanks for any suggestion guys!

The topic ‘Lightbox without plugins’ is closed to new replies.

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)

 * 0 replies
 * 1 participant
 * Last reply from: [Khadesa](https://wordpress.org/support/users/khadesa/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/lightbox-without-plugins/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
