Forums

[Plugin: NextGEN Gallery] Why Not Include piclense_optimized.js only on Post (2 posts)

  1. notrick
    Member
    Posted 2 years ago #

    HI,

    This js
    http://lite.piclens.com/current/piclens_optimized.js

    is included on all pages of WordPress. even on Home page and Pages. I think it should be available only on Post pages and that too only on pages with gallery on it.

    We can at least make it configurable in admin panel where we want this js to be included. Right?

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. Alex Rabe
    Member
    Posted 2 years ago #

    AFAIK you didn't know the content when you output the header, so it's hard to determine when you should add the code or not... if you know a way let me know, I'm happy to add the conditional tag

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags