WordPress.org

Support

Support » Plugins and Hacks » Enable Plugin only on certain Pages

Enable Plugin only on certain Pages

  • Hello,

    is there a way to enable the NextGEN Gallery only on certain pages?

    Unfortunately, the gallery is very slow and it would be nice to enable only when it is needed.

    I did some benchmark with P3 (Plugin Performance Profiler) on a clean WP 3.8 installation without any galleries or images uploaded.

    NextGEN Gallery enabled:

    WordPress Plugin Profile Report
    ===========================================
    Report date: 14. Dezember 2013
    Theme name: Twenty Fourteen
    Pages browsed: 8
    Avg. load time: 1.1874 sec
    Number of plugins: 2
    Plugin impact: 62.41% of load time
    Avg. plugin time: 0.7411 sec
    Avg. core time: 0.3159 sec
    Avg. theme time: 0.0339 sec
    Avg. mem usage: 68.50 MB
    Avg. ticks: 51,934
    Avg. db queries : 34.25
    Margin of error : 0.0965 sec

    Plugin list:
    ===========================================
    P3 (Plugin Performance Profiler) – 0.0131 sec – 1.76%
    Nextgen Gallery – 0.7280 sec – 98.24%

    NextGEN Gallery disabled:

    WordPress Plugin Profile Report
    ===========================================
    Report date: 14. Dezember 2013
    Theme name: Twenty Fourteen
    Pages browsed: 8
    Avg. load time: 0.3421 sec
    Number of plugins: 1
    Plugin impact: 3.41% of load time
    Avg. plugin time: 0.0117 sec
    Avg. core time: 0.2960 sec
    Avg. theme time: 0.0297 sec
    Avg. mem usage: 30.69 MB
    Avg. ticks: 40
    Avg. db queries : 29.12
    Margin of error : 0.0047 sec

    Plugin list:
    ===========================================
    P3 (Plugin Performance Profiler) – 0.0117 sec – 100.00%

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

  • The topic ‘Enable Plugin only on certain Pages’ is closed to new replies.