• I am trying toget the plugin to work with a nea website, and am having trouble getting the search form to display. THe shortcode I am using is [hr_SIS_nextgen_searchbox include_galleries=selected searchgalleries=2] which I expect to display a form input to allow the search terms to be entered, and the magnifying glass icon.

    However the input field is not shown, just the icon. and a black line where the box should be.

    Any suggestions welcome.

    Thanks,

    Paul

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wpo-HR

    (@wpo-hr)

    Hi Paul,

    you should first pay attention to the warning and correct the shortcode parameter. It is search_galleries and not searchgalleries.

    Kind regards,
    Harald

    Thread Starter paulbennett9

    (@paulbennett9)

    Thanks for that Harald, but I’ve corrected it and still have the problem. The page at https://clht.org.uk/Search-for-photos shows the problem – I cannot get the styling to display anything other a thick black line.

    Plugin Author wpo-HR

    (@wpo-hr)

    It really looks strange. The code on your page is almost correct.

    The searchbox contains two hidden input fields and the text input field for your search string. Something on your site changes a closing parenthesis of a parameter of the second hidden field to a special character. Therefore the text input field is interpreted as part of the parameter, which was not closed correctly. As a result your searchbox contains only two hidden fields and has height = 0. That is why you see the thick black line, which surrounds the searchbox with height 0.

    I suppose that some function on your website (most likely your theme) is editing the generated webpage text output thereby accidentally changing that closing parenthesis.

    I would recommend testing your webpage with a standard wordpress theme to see whether the searchbox works correctly.

    Thread Starter paulbennett9

    (@paulbennett9)

    I’ve tried deactivating all plugins (except NGG gallery, smart search and GA) and the result didn’t change. The theme is standard twentytwentythree so next I tried Neve theme which is also block based, and the result was the same.

    Plugin Author wpo-HR

    (@wpo-hr)

    You need to do some more debugging.

    Your referenced test page still looks strange. You doubled your main menue, you still have Yoast SEO pugin active, you included various scripts, you have fancybox active, I do not know your php-version etc..

    Try to set up a simple page which ONLY contains the searchbox shortcode and the display shortcode, nothing else. No NextGEN gallery, no doubled heading, switch off any code compression, deactivate All plugins beside NextGEN and smart image search. Check the result. If need be, you can modify the settings of NextGEN (e.g. no fancybox lightbox) and of smart image search (e.g. searchbox parameters).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search box not showing’ is closed to new replies.