Title: Addressing hooks
Last modified: May 30, 2017

---

# Addressing hooks

 *  Resolved [KarlEngstrom](https://wordpress.org/support/users/karlengstrom/)
 * (@karlengstrom)
 * [9 years ago](https://wordpress.org/support/topic/addressing-hooks/)
 * Hi Folks-
 * In the 1.x version I used to edit jigoshop_template_actions.php to work with 
   the theme.
    I’d change the following: `add_action( 'jigoshop_sidebar', 'jigoshop_get_sidebar',
   10);` to `remove_action( 'jigoshop_sidebar', 'jigoshop_get_sidebar', 10); to 
   remove_action( 'jigoshop_sidebar', 'jigoshop_get_sidebar', 10);`
 * Can this be accomplished in 2.x??
    I’d hate to have to change & customize themes
   to get this.
 * The site is [https://www.hagstornadobait.com/](https://www.hagstornadobait.com/)
 * Thanks for any help possible…
    Karl

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

 *  [Jigoshop Support – Marcin](https://wordpress.org/support/users/azrielnefezen/)
 * (@azrielnefezen)
 * [9 years ago](https://wordpress.org/support/topic/addressing-hooks/#post-9184209)
 * So you just basically don’t want the sidebar, then?
    You can turn it off in Jigoshop-
   > Settings -> Layout Manager 😉
 *  Thread Starter [KarlEngstrom](https://wordpress.org/support/users/karlengstrom/)
 * (@karlengstrom)
 * [9 years ago](https://wordpress.org/support/topic/addressing-hooks/#post-9184520)
 * Hi Marcin. I actually do want a sidebar but it’s handled by the theme, Atahualpa.
   Right now the issue is that the sidebar is placed under the products as seen 
   here, [https://www.hagstornadobait.com/store/](https://www.hagstornadobait.com/store/).
   Compared to here [https://www.hagstornadobait.com/retailers/](https://www.hagstornadobait.com/retailers/).
 * I’ll play with the settings in JS and Atahualpa more today, but it was resolved
   in the past with the remove_action as noted.
 * Thanks
    Karl
 *  [Jigoshop Support – Marcin](https://wordpress.org/support/users/azrielnefezen/)
 * (@azrielnefezen)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/addressing-hooks/#post-9348461)
 * Sorry for the late reply – have you managed to get this issue resolved on your
   own?
 * If not – there is no current action attached to the ‘jigoshop\template\sidebar’
   hook, you can use this one to execute the action that is required.
 * As per removing the current sidebar – in your theme’s root directory create a“
   jigoshop” catalog – in it create a “layout” catalog and there create a file called“
   default.php” – it’s contents would look similar to [this](https://github.com/jigoshop/Jigoshop-eCommerce/blob/cb0a8c1c86e46a9d79dd1d57a23455447a59f8b5/templates/layout/default.php)
   without line 17 🙂

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

The topic ‘Addressing hooks’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jigoshop-ecommerce_222121.svg)
 * [Jigoshop eCommerce](https://wordpress.org/plugins/jigoshop-ecommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jigoshop-ecommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jigoshop-ecommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/jigoshop-ecommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jigoshop-ecommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jigoshop-ecommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jigoshop Support – Marcin](https://wordpress.org/support/users/azrielnefezen/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/addressing-hooks/#post-9348461)
 * Status: resolved