Title: Plugin Shadowbox JS &amp; plugin Multiple content blocks
Last modified: August 20, 2016

---

# Plugin Shadowbox JS & plugin Multiple content blocks

 *  [azra](https://wordpress.org/support/users/azra/)
 * (@azra)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-plugin-multiple-content-blocks/)
 * Hi,
    I need your help making the shadowbox plugin work in an own created area,“
   the_block” for example. As long as I got a picture in “the_content” part of my
   website, also the pictures in the “the_block” part open in the shadowbox, when
   the “rel” is set. But as soon as there are no pictures in the content, the shadowbox
   doesn’t appear in “the_block” part either, although you can see the correct “
   rel” in the code. I tried to change the code in the frontend.php (“add_filter(‘
   the_content’, array ( &$this, ‘add_attr_to_link’ ) , 12 , 2 );”…), but failed
   miserably 🙁 I really hope, you can help me, Thanks a lot!

The topic ‘Plugin Shadowbox JS & plugin Multiple content blocks’ is closed to new
replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [azra](https://wordpress.org/support/users/azra/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-plugin-multiple-content-blocks/)
 * Status: not resolved