• Hi! I found what shadowbox JS not working with get_the_content function. If i change it to the the_content its fork fine. I think its needed an a special hook or filter to apply adding rel=”shadowbox” to the image links if used get_the_content.

    Can you help me?

    I should use get_the_content couse its pushed in to the trancient cache.

    http://wordpress.org/extend/plugins/shadowbox-js/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Matt Martz

    (@sivel)

    The plugin utilizes the ‘the_content’ filter. So you can run that filter on the output of get_the_content() such as:

    apply_filters('the_content', get_the_content())

    I’m using a theme by Elegant Themes called “The Source.” I’ve installed the Shadowbox JS in WordPress for the site, but it’s not working. Have you heard of any compatibility problems with this theme or any themes at Elegant Themes?

    If not, is there some set up other than installing the plugin that needs to be done to get it to work. I have it on three other sites at different domains and it works fine, but not on this theme or this domain or web host.

    Thanks.

    What does it mean in the installation: Visit the settings page in the Admin at Settings -> Shadowbox JS and install the required dependencies

    What are “required dependencies?”

    lynnpd – I’m not positive but I think that’s referring to the actual Shadowbox script files which were developed by someone other than the author of this plugin, hence the need to install them separately. After installing the SB JS plugin there should be a box with a link to download the “required dependencies” on the plugin settings page.

    Matt – the_content is breaking the plugin too. See my post here

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shadowbox JS not working with get_the_content function.’ is closed to new replies.