Support » Plugin: Q2W3 Fixed Widget » Exclude from HOME PAGE!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Max Bond



    Try this solution:

    Open home page template file.
    Add function
    <?php remove_action( 'wp_footer', array( 'q2w3_fixed_widget', 'action_script' ) ); ?>
    right before
    <?php wp_footer(); ?>

    If there is no separate home page file use is_home() function:
    <?php if ( is_home() ) remove_action( 'wp_footer', array( 'q2w3_fixed_widget', 'action_script' ) ); ?>

    I use WooThemes Canvas with a slider on the homepage. Q2W3 somehow doesn’t play nice together with it so my slider was gone.

    I tried to exclude Q2W3 from my homepage as a workaround using this code in a child theme functions.php but it didn’t work.

    Any idea?

    Plugin Author Max Bond



    First try to enable “Use jQuery(window).load() hook” option.
    If no change use method described above.
    But, it will not work from functions.php file, because of it’s early initialization. User frontpage or homepage template file if it present. If not use index.php

    Use the plugin and disable it anywhere you want 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude from HOME PAGE!’ is closed to new replies.