Title: [Plugin: Shadowbox JS] HTML Category Links
Last modified: August 19, 2016

---

# [Plugin: Shadowbox JS] HTML Category Links

 *  [cableghost](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-html-category-links/)
 * First, I thought the settings in the plug-in allowed for ‘automatic’ use of shadowbox/
   lightbox? In my theme, I must manually set rel=”lightbox”.
 * How do I get html files in category listing in my sidebar to use lightbox? There
   is no individual setting to select rel, etc. Could this be done by another plug-
   in or maybe I should manually add links to my sidebar?
 * -Scott

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-html-category-links/#post-1519320)
 * I cannot assist you without a link to a site where you are experiencing a problem.
 *  Thread Starter [cableghost](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-html-category-links/#post-1519431)
 * [@sivel](https://wordpress.org/support/users/sivel/) below is my test site. The
   html link in the right sidebar is ‘Calc’.
 * I have set Shadowbox JS as the ‘Player’ for html.
 * [http://test.9001sites.com](http://test.9001sites.com)
 * -Scott
 *  [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-html-category-links/#post-1519435)
 * In order for Shadowbox to work the link needs to contain at least `rel='shadowbox'`.
   The anchor tag for ‘Calc’ does not contain such an attribute and this will not
   work.
 * As this link is not in the content of a post that attribute cannot be added automatically,
   nor does this plugin ever automatically add this attribute to html pages automatically.
 * See [http://wordpress.org/extend/plugins/shadowbox-js/faq/](http://wordpress.org/extend/plugins/shadowbox-js/faq/)
   for a list of file types that rel=”shadowbox” is automatically added to.
 * Also keep in mind that as I said, it will only add it to links within the content
   of a post, outside of that, the user is responsible for manually adding it to
   the links.
 *  Thread Starter [cableghost](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-html-category-links/#post-1519438)
 * Okay, makes sense.
 * Is there a method then of adding code to the loop, etc. that would auto add the
   rel to appropriate links?
 * -Scott

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Shadowbox JS] HTML Category Links’ is closed to new replies.

 * 4 replies
 * 2 participants
 * Last reply from: [cableghost](https://wordpress.org/support/users/cableghost/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-html-category-links/#post-1519438)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
