Support » Plugin: WP Snowfall » How to limit this plugin to the start page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author zourbuth

    (@zourbuth)

    Find:
    add_action( 'wp_footer', 'wp_snowfall_effect' );

    Update to:

    if( is_front_page() )
        add_action( 'wp_footer', 'wp_snowfall_effect' );

    Thanks for the prompt response.

    I found it in wp-snowfall/index.php line 59 and inserted the condition. Result is that the snowfall is missing everywhere.

    I do have a static front page on this site.

    If you’d like to check: http://berzau.de/.

    I have the condition removed again. Snowfall all over the place is better than none 😉

    Plugin Author zourbuth

    (@zourbuth)

    Try to replace the is_front_page() to is_home()

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to limit this plugin to the start page?’ is closed to new replies.