Q2W3 Fixed Widget (Sticky Widget)
Exclude from HOME PAGE! (5 posts)

  1. andrilio
    Posted 2 years ago #

    Hey guys! Love your widget! I have a problem though.

    How can I exclude the sticky option from the home page?


  2. Max Bond
    Plugin Author

    Posted 2 years ago #


    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' ) ); ?>

  3. Patrick Mackaaij
    Posted 2 years ago #

    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?

  4. Max Bond
    Plugin Author

    Posted 2 years ago #


    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

  5. Bike
    Posted 2 years ago #

    Use the http://wordpress.org/plugins/plugin-organizer/ plugin and disable it anywhere you want :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Q2W3 Fixed Widget (Sticky Widget)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.