Title: Within Lightbox
Last modified: August 21, 2016

---

# Within Lightbox

 *  [vsmarcuslewis](https://wordpress.org/support/users/vsmarcuslewis/)
 * (@vsmarcuslewis)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/within-lightbox/)
 * I’ve added the social buttons to my lightbox functionality, but it looks like
   the buttons link to the actual category and not the specific image contained 
   in the lightbox.
 * Is there way to change to code around to reflect the current image that pops 
   up?
 * [http://wordpress.org/plugins/wpsocialite/](http://wordpress.org/plugins/wpsocialite/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tom Morton](https://wordpress.org/support/users/tm3909/)
 * (@tm3909)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/within-lightbox/#post-3958420)
 * It always helps if you can provide a link to the site in question so I can look
   at the markup.
 * I think what you need is the override system. In your code where you’ve called
   WPSocialite, use the following and override WPSocialites URL with a custom one.
   In this case, you would put in the URL of the image that is called.
 *     ```
       <?php
       $args = array(
           'url' => 'url_to_your_image', //use this to override the url that is sent to WPSocialite. Not recommended to use in loop.
       );
       wpsocialite_markup( $args ); ?>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Within Lightbox’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpsocialite_f8f8f8.svg)
 * [WPSocialite](https://wordpress.org/plugins/wpsocialite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpsocialite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpsocialite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpsocialite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpsocialite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpsocialite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tom Morton](https://wordpress.org/support/users/tm3909/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/within-lightbox/#post-3958420)
 * Status: not resolved