• Resolved helms

    (@helms)


    If I remember correctly this piece of code (from StudioPress):

    //* Reposition the primary navigation menu to top of header
    //remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
    //add_action( ‘genesis_before_header’, ‘genesis_do_nav’ );

    used to work a couple of very recent version ago. Now, the remove action doesn’t seem to work. The add action works fine. I end up with two menus, one in its original location and the other before the the header. I tried this on two different sites with the same outcome. If I add this coded to the functions.php it works fine.

    Thanks for your support.

    https://www.ads-software.com/plugins/code-snippets/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Genesis remove_action not working’ is closed to new replies.