• Resolved Lucid Gen

    (@lucidgen)


    Hi Developers,
    There are many people like me here who prefer Old Navigation Search over Modal Search for the following reasons:

    • Old navigation search is simple, clean.
    • Old navigation search has an INP score better than modal search when I checked with https://www.debugbear.com/inp-debugger. At least for my site. For a page with a lot of buttons, textarea, my INP is often over 250 when using Modal Search, but when switching to Old Navigation Search, it is often under 150.

    Although you have supported us with a code snippet to bring it back. But I suggest you keep this design and put it as an option in the interface customizer, allowing users to easily choose the search style they want.

Viewing 5 replies - 1 through 5 (of 5 total)
  • ying

    (@yingscarlett)

    Hi there,

    You can use this filter to revert to the legacy navigation search:

    add_filter( 'option_generate_settings', function( $settings ) {
    $settings['nav_search'] = 'enable';

    return $settings;
    } );
    Thread Starter Lucid Gen

    (@lucidgen)

    Hi Ying,

    I got this code snippet from GP forum. But my request/suggestion is “Bring back old navigation search as an option in customizer”. Please help me send this suggestion to Tom. Thank you very much!

    ying

    (@yingscarlett)

    I don’t think we will bring that back, but I’ll forward your suggestion to the dev team 🙂

    Thread Starter Lucid Gen

    (@lucidgen)

    Thank Ying.

    It is not hard to make a select in the customizer: Navigation Search, Modal Search, Off.

    You can test the INP score with Debugbear; old Navigation Search always gets a better score. This affects core web vitals and the ranking of the website.

    Please help me send this topic to Tom and dev team.

    Hi there,

    thanks for the suggestion. It has been passed to the dev team for review.

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

The topic ‘Bring back old navigation search as an option in customizer’ is closed to new replies.