• Hey James,

    I’d like to use the “Easy Notification Bar” plug-in with the Highwind theme, but unfortunately the bar does not show up, because your theme does not support the wp_body_open hook which was introduced in WordPress 5.2.0.

    Would be cool, if you could edit header.php and look for:

    <body <?php body_class(); ?>>
    
    <?php highwind_body_top(); ?>

    Then add the hook in between like this:

    <body <?php body_class(); ?>>
    
    <?php
      if ( function_exists( 'wp_body_open' ) ) {
        wp_body_open();
      }
      else {
        do_action( 'wp_body_open' );
      }
    ?>
    
    <?php highwind_body_top(); ?>

    Thank you very much.

    Kind regards,
    Bernd

  • The topic ‘Add wp_body_open hook to header.php’ is closed to new replies.