Support » Plugin: NGG Smart Image Search » Change search result

  • Resolved haldsund

    (@haldsund)


    Hi.

    Awesome plugin you’ve made! I’m trying to change the search list result to ”advanced_thumbnails”, but I can’t seem to get it working. How is the shortcode supposed to be?

    Best Regards,
    Rasmus

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

    (@wpo-hr)

    Hi Rasmus,

    there are several possibilities to use the display type advanced thumbnails:

    (1) you can use it dynamically in any search query by just adding “>at” at the end of the searchstring like “sunset>at”

    (2) you can specify this display type in the shortcode
    [hr_SIS_display_images display=advanced_thumbnails]
    [hr_SIS_display_images display=”advanced_thumbnails”]
    [hr_SIS_display_images display=at]
    [hr_SIS_display_images display=”at”]
    Any of these 4 notations should work for you.

    Best regards
    Harald

    • This reply was modified 2 years, 7 months ago by  wpo-HR.

    Hi Harald.

    Thanks for the fast response. I got it to work without the “”, so that was perfect. About the search result – I need to be able to use code in either the titel or the description (preferable), because I’m using a download button to make the file downloadable. This is the code I use:
    <p style=”text-align: center;”>Download</p>

    It works perfectly in NextGen Gallery, but when I use it within your plugin, it won’t use it. Can you help med with that too? Before I changed it to AT view it was shown in description.

    Best Regards,
    Rasmus

    I can see that the lightbox doesn’t work on at either. Is there any way to display description in the bt view? Because that works perfectly otherwise with the code the for the button.

    Best Regards,
    Rasmus

    Plugin Author wpo-HR

    (@wpo-hr)

    Hi Rasmus,

    the Nextgen lightbox should work for display=at.
    You have of course to set the Nextgen options correctly (you must set the option to show linked images in the standard Nextgen lightbox).

    If you want to modify the Nextgen gallery display, you should use templates for the basic thumbnails gallery. You have to set the template in the Nextgen defaults settings. My plugin automatically uses standard Nextgen gallery display.

    For a download button the following thread may be useful for you:
    https://wordpress.org/support/topic/integration-search-result-with-a-download/

    Best regards
    Harald

    Thanks for great support! Have a good night!

    Best Regards,
    Rasmus

    • This reply was modified 2 years, 7 months ago by  haldsund.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change search result’ is closed to new replies.