Title: plugin inserts itself to archive pages
Last modified: April 11, 2017

---

# plugin inserts itself to archive pages

 *  Resolved [cotm](https://wordpress.org/support/users/cotm/)
 * (@cotm)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-inserts-itself-to-archive-pages/)
 * Hi there,
 * I’m setting up a woocommerce webstore and installed your plugin to be able to
   search product tags.
    My problem is that though I inserted the shortcode to only
   one specific page, your plugin seems to have inserted itself somehow to all product-
   archive pages (not the original wp-archive pages), including the store home page.
   I checked the original theme’s archive template and the wc archive template but
   I don’t see anything that would explain that behavior. My guess (based on the
   position on the pages) is it is somehow automatically hooked to the woocommerce_before_shop_loop
   hook, and I tried to remove it through functions php,
 * remove_action( ‘woocommerce_before_shop_loop’, ‘woo_advance_search’ );
 * but it didn’t work.
 * Could you help me please to solve this?
 * thanks
 * EDIT
 * Meanwhile I’v found this in your class-woo-advance-search.php:
 * $this->loader->add_action( ‘woocommerce_before_shop_loop’, $plugin_public, ‘woo_advance_search_shortcode’,
   30 );
 * and tried this
 * remove_action( ‘woocommerce_before_shop_loop’, ‘woo_advance_search_shortcode’,
   30 );
 * didn’t work either.
    -  This topic was modified 9 years, 2 months ago by [cotm](https://wordpress.org/support/users/cotm/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Dotstore](https://wordpress.org/support/users/dots/)
 * (@dots)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-inserts-itself-to-archive-pages/#post-9025883)
 * Hello [@cotm](https://wordpress.org/support/users/cotm/),
 * Hope you doing well….!
 * Thanks for contacting use.Please do not change or update code in plugin file 
   you can modify anything in your function.php.also, our plugin working fine on
   our side can please provide your wp-admin details via our support [https://store.multidots.com/dotstore-support-panel/](https://store.multidots.com/dotstore-support-panel/).
 * In this ticket you can mention free plugin or wp-admin details so we can check
   exactly what issue appear then give you a proper solution.
 * Thank You,
    Multidots
 *  Thread Starter [cotm](https://wordpress.org/support/users/cotm/)
 * (@cotm)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-inserts-itself-to-archive-pages/#post-9028210)
 * Hello,
 * thank you for getting back to me so quickly.
    Meanwhile I’ve found another solution,
   so my question became irrelevant.
 * Thank you again for your kind response.
 * Have a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘plugin inserts itself to archive pages’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-advance-search_34495e.svg)
 * [Advance Search for WooCommerce](https://wordpress.org/plugins/woo-advance-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-advance-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-advance-search/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-advance-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-advance-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-advance-search/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [cotm](https://wordpress.org/support/users/cotm/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-inserts-itself-to-archive-pages/#post-9028210)
 * Status: resolved