• 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)
  • I cannot assist you without a link to a site where you are experiencing a problem.

    Thread Starter cableghost

    (@cableghost)

    @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

    -Scott

    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/ 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

    (@cableghost)

    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.