Title: Remove Neve header bits
Last modified: August 6, 2021

---

# Remove Neve header bits

 *  Resolved [newshop](https://wordpress.org/support/users/newshop/)
 * (@newshop)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/remove-neve-header-bits/)
 * Hello,
    in woocommerce.php I found this line of code: `add_action( 'neve_before_shop_loop_content',
   array( $this, 'add_header_bits' ), 0 );` I would like to remove this action and
   tried: `remove_action( 'neve_before_shop_loop_content', 'add_header_bits' );`
   and `remove_action( 'neve_before_shop_loop_content', 'add_header_bits',0 );` 
   and
 *     ```
       add_action( 'init', 'woo_remove_nv_header_bits' );
       function woo_remove_nv_header_bits() {
       remove_action( 'neve_before_shop_loop_content', 'add_header_bits' );
       }
       ```
   
 * but none of them did the trick. What am I doing wrong?

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

 *  Thread Starter [newshop](https://wordpress.org/support/users/newshop/)
 * (@newshop)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/remove-neve-header-bits/#post-14742342)
 * Ok got it, replacing init by wp and adding priority 100 did the trick. Or is 
   there a better way?
 *  [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * (@luciamarinescu)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/remove-neve-header-bits/#post-14752615)
 * Hi [@newshop](https://wordpress.org/support/users/newshop/)!
 * We are glad you managed to solve the issue! The way you did it seems correct.
 * Have a nice day!

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

The topic ‘Remove Neve header bits’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/neve/4.2.4/screenshot.png)
 * Neve
 * [Support Threads](https://wordpress.org/support/theme/neve/)
 * [Active Topics](https://wordpress.org/support/theme/neve/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/neve/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/neve/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/remove-neve-header-bits/#post-14752615)
 * Status: resolved