Support » Plugin: Shadowbox JS » [Plugin: Shadowbox JS] Enable Smart Loading if 'rel' is within a template

  • Hello,
    Enable Smart Loading is a great feature to have! However, it looks at the posts content to determine whether it need to do its magic.

    How can I customize the plugin to also to the smart loading of css and scripts if my rel="shadowbox" attribute is specified within a template code instead of post’s content?

    Many thanks,
    Dasha

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

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

    (@sivel)

    Currently you cannot. If it is not in the post content, smart loading has to be disabled.

    Thanks Matt,

    Any advice how to correctly include plugin’s css and js only on specific pages myself?

    I know how to queue css and js for specific pages – using the wp_enqueue_style and wp_enqueue_script .. however, I’m not sure what exactly files to include.

    I would really appreciate any tips!

    Many thanks,
    Dasha

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Shadowbox JS] Enable Smart Loading if 'rel' is within a template’ is closed to new replies.