Support » Plugin: WordPress Download Manager » WPDM should be active only on dedicated pages

  • Hi all,

    because of the relatively heavy sizes of scripts and styles that WPDM enqueues I wish to limit this to only the page(s) where the downloads are offered to visitors.
    Especially I want to prevent loading of WPDM on the front page (ranking of search engines with respect to load time).

    Is there a possibility to do that without ‘hacking’ the WPDM init code?
    Or is a feature like that planned for one of the next releases?
    If not, I would state this as a feature request.

    Regards, Knut

    • This topic was modified 1 year, 12 months ago by noesiskl.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Shahriar

    (@shahriar0822)

    Hi Knut,

    If active theme already adding Bootstrap CSS/JS then you can deactivate Download Manager Bootstrap CSS/JS. There is no other option yet to load styles and scripts conditionally. But this feature is noted for implementation.

    Thanks.

    Thread Starter noesiskl

    (@noesiskl)

    Hi Shahriar,
    thanks for your quick reply, so I wait for an update and meanwhile I ‘hack’ the download-manager.php… 😉

    BTW: how can I send you a German translation (it’s nearly 100%)?

    Regards, Knut

    • This reply was modified 1 year, 11 months ago by noesiskl. Reason: typo
    • This reply was modified 1 year, 11 months ago by noesiskl. Reason: asking for providing a translation
    Plugin Contributor Shahriar

    (@shahriar0822)

    Hi,

    You can translate WordPress Download Manager here https://translate.wordpress.org/projects/wp-plugins/download-manager/

    Thanks.

    Thread Starter noesiskl

    (@noesiskl)

    Thanks Shahriar,

    I added the missing translations in the cases, where it’s possible.
    But there is no Editor for German de_DE – who will bring the waiting translations to the current state? Could I help? And if – how?

    Regards, Knut

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WPDM should be active only on dedicated pages’ is closed to new replies.