Support » Plugin: NGG Smart Image Search » No Shortcodes showing search bar

  • Resolved tkneissl


    Dear Harald,
    we just noticed that our global search bar in the header was not showing.
    I thought it could be the older WordPress Version, so I upgraded WordPress to 5.2.
    Nevertheless, the search bar as well as the search result with the short code is not working any more.
    Could you be so kind and check what could cause that?
    I already tried the standard themes to exclude my Divi Theme, but for me it seems that it’s not the theme.
    Thanks very much in advance!

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

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


    Hi Tobias,
    on your example page I can see that the shortcodes are not recognized correctly.
    Normally this is the case if
    (i) the plugin NGG Smart Image Search is not activated
    (ii) the shortcode brackets are escaped(html) on your post/page so that wordpress cannot recognize the shortcode itself. You can check this by using the text mode in your wordpress editor.
    But in your case there is another option:
    (iii) wrong quotation marks so that wordpress cannot recognize shortcodes because the closing bracket is part of the quotation
    You use your parameter 500 with different quotation marks!
    If your parameter is only a number or is only one word you can omit the quotation marks for parameter values altogether.
    Best regards

    • This reply was modified 5 months, 1 week ago by  wpo-HR.

    Dear Harald,
    it makes me a little uncomfortable to tell, but your first option (i) was indeed the solution. I tried to find the error for way too long… somehow just the plugin was automatically deactivated. I did not recognize that. Next time I check that instantly.
    So glad that it’s working again since your plugin is absolutely critical for our site!
    Thank you very much, Harald!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.