{"id":5455,"date":"2008-09-26T23:59:27","date_gmt":"2008-09-26T21:59:27","guid":{"rendered":"https:\/\/www.jcvignoli.com\/blog\/?p=5455"},"modified":"2021-04-01T17:10:02","modified_gmt":"2021-04-01T21:10:02","slug":"how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin","title":{"rendered":"How to add a search function to NextGen gallery wordpress plugin"},"content":{"rendered":"<p><a href=\"http:\/\/alexrabe.boelinger.com\/wordpress-plugins\/nextgen-gallery\/\">NextGen gallery<\/a> is quite a nice plugin. But it lacks a function, a very obvious one&#8230; the possibility to search inside the pictures name, alternative text or description. Wouldn&rsquo;t be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts?<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/wp-plugin-ngg-search.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2085 size-full\" src=\"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/wp-plugin-ngg-search.jpg\" alt=\"wp plugin nextgen gallery search\" width=\"1024\" height=\"500\" srcset=\"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/wp-plugin-ngg-search.jpg 1024w, https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/wp-plugin-ngg-search-300x146.jpg 300w, https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/wp-plugin-ngg-search-768x375.jpg 768w, https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/wp-plugin-ngg-search-150x73.jpg 150w, https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/wp-plugin-ngg-search-200x98.jpg 200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>I&rsquo;m not a coder. Not at all. But it still works like a charm. If you know how to edit you theme, here are the modifications you have to go through:<\/p>\n<ol>\n<li>Add this <a href=\"\/blog\/wp-content\/files\/wordpress-nggplugin-search-call.txt\">code<\/a> in your file search.php (inside your template folder), right after<br \/>\n<code>&lt;h2 class=\"pagetitle\"&gt;Search Results&lt;\/h2&gt;<\/code><br \/>\nor somewhere (depending your template) after<br \/>\n&lt;?php if (have_posts()) : ?&gt;,<br \/>\notherwise it wouldn&rsquo;t find the pictures. Pay a special attention to the line<br \/>\n<code>$nggpictures = ngg_get_search_pictures($keywords, '');<\/code><br \/>\nsince on the second function argument ( \u00a0\u00bb ) you may indicate the number of pictures you want to display on each row result. IE, if you want to get 6 pictures displayed on each row, you have to change the line to<br \/>\n<code>$nggpictures = ngg_get_search_pictures($keywords, '6');<\/code><br \/>\nBy default, 4 pictures for each row are displayed. Note that you may also split the code, and put a part before and another part after the &lt;?php while [&#8230;] ?&gt; function with the result to display pictures (if relevent) even if there is no post. That&rsquo;s a bit more advanced, but people with advanced php skills won&rsquo;t need any complementary explanation to achieve that.<\/li>\n<li>Add this <a href=\"\/blog\/wp-content\/files\/wordpress-nggplugin-search-function.txt\">code<\/a> (or this <a href=\"\/blog\/wp-content\/files\/wordpress-nggplugin-search-function2.7.txt\">code<\/a> if you use NexGen 1.0) anywhere in your file functions.php (inside your template folder, create one if you don&rsquo;t have any)<\/li>\n<\/ol>\n<p>That&rsquo;s all ! Have a look to my searchbar, and see how it works. Try with \u00ab\u00a0jim lobe\u00a0\u00bb or <a href=\"\/blog\/index.php?s=jim+lobe\">click here<\/a>.<\/p>\n<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Super article!\" data-post-id=\"5455\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">0    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Pas terrible...\" data-post-id=\"5455\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-down\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\">0<\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one&#8230; the possibility to search inside the pictures name, alternative text or description. Wouldn&rsquo;t be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I&rsquo;m not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5299,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ai_generated_summary":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[4623,4621,4625],"tags":[],"class_list":["post-5455","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-en","category-computers","category-wordpress-en","entry","has-media"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one... the possibility to search inside the pictures name, alternative text or description. Wouldn&#039;t be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I&#039;m not\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jean-Claude Vignoli\"\/>\n\t<meta name=\"google-site-verification\" content=\"jj3FOHg3YVt6WrTHRZn8XfSGVvYvGAI5LcUbY9Oc1A0\" \/>\n\t<meta name=\"msvalidate.01\" content=\"CC159FE805DC25AC27033E75961C04E5\" \/>\n\t<meta name=\"keywords\" content=\"blog,computers,wordpress\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Lost Highway\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to add a search function to NextGen gallery wordpress plugin | Lost Highway\" \/>\n\t\t<meta property=\"og:description\" content=\"NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one... the possibility to search inside the pictures name, alternative text or description. Wouldn&#039;t be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I&#039;m not\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin\" \/>\n\t\t<meta property=\"fb:app_id\" content=\"3039508039607806\" \/>\n\t\t<meta property=\"fb:admins\" content=\"569941764\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Anonymat-scaled.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Anonymat-scaled.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1707\" \/>\n\t\t<meta property=\"article:tag\" content=\"blog\" \/>\n\t\t<meta property=\"article:tag\" content=\"computers\" \/>\n\t\t<meta property=\"article:tag\" content=\"wordpress\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-09-26T21:59:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-04-01T21:10:02+00:00\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/jcvignolipublic\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@jc_vignoli\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to add a search function to NextGen gallery wordpress plugin | Lost Highway\" \/>\n\t\t<meta name=\"twitter:description\" content=\"NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one... the possibility to search inside the pictures name, alternative text or description. Wouldn&#039;t be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I&#039;m not\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@jc_vignoli\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Anonymat-scaled.jpg\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Jean-Claude Vignoli\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Estimation du temps de lecture\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n\t\t<script nonce='22eb1f9cef500da033971ab6585ca428' type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#article\",\"name\":\"How to add a search function to NextGen gallery wordpress plugin | Lost Highway\",\"headline\":\"How to add a search function to NextGen gallery wordpress plugin\",\"author\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/author\\\/psykotik#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/wp-content\\\/uploads\\\/Anonymat-scaled.jpg\",\"width\":2560,\"height\":1707,\"caption\":\"Anonymat\"},\"datePublished\":\"2008-09-26T23:59:27+02:00\",\"dateModified\":\"2021-04-01T17:10:02+02:00\",\"inLanguage\":\"fr-FR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#webpage\"},\"articleSection\":\"blog, Computers, wordpress, English, pll_606636aa625bf\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/category\\\/computers#listItem\",\"name\":\"Computers\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/category\\\/computers#listItem\",\"position\":2,\"name\":\"Computers\",\"item\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/category\\\/computers\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/category\\\/computers\\\/blog-en#listItem\",\"name\":\"blog\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/category\\\/computers\\\/blog-en#listItem\",\"position\":3,\"name\":\"blog\",\"item\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/category\\\/computers\\\/blog-en\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#listItem\",\"name\":\"How to add a search function to NextGen gallery wordpress plugin\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/category\\\/computers#listItem\",\"name\":\"Computers\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#listItem\",\"position\":4,\"name\":\"How to add a search function to NextGen gallery wordpress plugin\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/category\\\/computers\\\/blog-en#listItem\",\"name\":\"blog\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/#person\",\"name\":\"Jean-Claude Vignoli\",\"image\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/wp-content\\\/uploads\\\/Moi.jpg\",\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/jc_vignoli\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/jcvignoli1\",\"https:\\\/\\\/ch.linkedin.com\\\/in\\\/jeanclaudevignoli\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Jean-Claude_Vignoli\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/author\\\/psykotik#author\",\"url\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/author\\\/psykotik\",\"name\":\"Jean-Claude Vignoli\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c110d6ff567d841e307ec755e66cc6db99be72e1293fc1195eecf5a5d2c56e91?s=96&d=mm&r=x\",\"width\":96,\"height\":96,\"caption\":\"Jean-Claude Vignoli\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/jcvignolipublic\",\"https:\\\/\\\/www.twitter.com\\\/@jc_vignoli\",\"https:\\\/\\\/www.instagram.com\\\/jc_vignoli\\\/\",\"https:\\\/\\\/www.youtube.com\\\/@jc_vignoli\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/jeanclaudevignoli\\\/\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Jean-Claude_Vignoli\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#webpage\",\"url\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin\",\"name\":\"How to add a search function to NextGen gallery wordpress plugin | Lost Highway\",\"description\":\"NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one... the possibility to search inside the pictures name, alternative text or description. Wouldn't be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I'm not\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/author\\\/psykotik#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/author\\\/psykotik#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/wp-content\\\/uploads\\\/Anonymat-scaled.jpg\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin\\\/#mainImage\",\"width\":2560,\"height\":1707,\"caption\":\"Anonymat\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/en\\\/2008\\\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#mainImage\"},\"datePublished\":\"2008-09-26T23:59:27+02:00\",\"dateModified\":\"2021-04-01T17:10:02+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/\",\"name\":\"Lost Highway\",\"description\":\"Jean-Claude Vignoli. Activiste et voyageur. Journaliste et \\u00e9crivain.\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.jcvignoli.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to add a search function to NextGen gallery wordpress plugin | Lost Highway","description":"NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one... the possibility to search inside the pictures name, alternative text or description. Wouldn't be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I'm not","canonical_url":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin","robots":"max-image-preview:large","keywords":"blog,computers,wordpress","webmasterTools":{"google-site-verification":"jj3FOHg3YVt6WrTHRZn8XfSGVvYvGAI5LcUbY9Oc1A0","msvalidate.01":"CC159FE805DC25AC27033E75961C04E5","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#article","name":"How to add a search function to NextGen gallery wordpress plugin | Lost Highway","headline":"How to add a search function to NextGen gallery wordpress plugin","author":{"@id":"https:\/\/www.jcvignoli.com\/blog\/author\/psykotik#author"},"publisher":{"@id":"https:\/\/www.jcvignoli.com\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Anonymat-scaled.jpg","width":2560,"height":1707,"caption":"Anonymat"},"datePublished":"2008-09-26T23:59:27+02:00","dateModified":"2021-04-01T17:10:02+02:00","inLanguage":"fr-FR","mainEntityOfPage":{"@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#webpage"},"isPartOf":{"@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#webpage"},"articleSection":"blog, Computers, wordpress, English, pll_606636aa625bf"},{"@type":"BreadcrumbList","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.jcvignoli.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers#listItem","name":"Computers"}},{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers#listItem","position":2,"name":"Computers","item":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers","nextItem":{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers\/blog-en#listItem","name":"blog"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers\/blog-en#listItem","position":3,"name":"blog","item":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers\/blog-en","nextItem":{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#listItem","name":"How to add a search function to NextGen gallery wordpress plugin"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers#listItem","name":"Computers"}},{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#listItem","position":4,"name":"How to add a search function to NextGen gallery wordpress plugin","previousItem":{"@type":"ListItem","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers\/blog-en#listItem","name":"blog"}}]},{"@type":"Person","@id":"https:\/\/www.jcvignoli.com\/blog\/#person","name":"Jean-Claude Vignoli","image":"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Moi.jpg","sameAs":["https:\/\/twitter.com\/jc_vignoli","https:\/\/www.youtube.com\/user\/jcvignoli1","https:\/\/ch.linkedin.com\/in\/jeanclaudevignoli","https:\/\/en.wikipedia.org\/wiki\/Jean-Claude_Vignoli"]},{"@type":"Person","@id":"https:\/\/www.jcvignoli.com\/blog\/author\/psykotik#author","url":"https:\/\/www.jcvignoli.com\/blog\/author\/psykotik","name":"Jean-Claude Vignoli","image":{"@type":"ImageObject","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c110d6ff567d841e307ec755e66cc6db99be72e1293fc1195eecf5a5d2c56e91?s=96&d=mm&r=x","width":96,"height":96,"caption":"Jean-Claude Vignoli"},"sameAs":["https:\/\/www.facebook.com\/jcvignolipublic","https:\/\/www.twitter.com\/@jc_vignoli","https:\/\/www.instagram.com\/jc_vignoli\/","https:\/\/www.youtube.com\/@jc_vignoli","https:\/\/www.linkedin.com\/in\/jeanclaudevignoli\/","https:\/\/en.wikipedia.org\/wiki\/Jean-Claude_Vignoli"]},{"@type":"WebPage","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#webpage","url":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin","name":"How to add a search function to NextGen gallery wordpress plugin | Lost Highway","description":"NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one... the possibility to search inside the pictures name, alternative text or description. Wouldn't be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I'm not","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/www.jcvignoli.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#breadcrumblist"},"author":{"@id":"https:\/\/www.jcvignoli.com\/blog\/author\/psykotik#author"},"creator":{"@id":"https:\/\/www.jcvignoli.com\/blog\/author\/psykotik#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Anonymat-scaled.jpg","@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin\/#mainImage","width":2560,"height":1707,"caption":"Anonymat"},"primaryImageOfPage":{"@id":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin#mainImage"},"datePublished":"2008-09-26T23:59:27+02:00","dateModified":"2021-04-01T17:10:02+02:00"},{"@type":"WebSite","@id":"https:\/\/www.jcvignoli.com\/blog\/#website","url":"https:\/\/www.jcvignoli.com\/blog\/","name":"Lost Highway","description":"Jean-Claude Vignoli. Activiste et voyageur. Journaliste et \u00e9crivain.","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/www.jcvignoli.com\/blog\/#person"}}]},"og:locale":"fr_FR","og:site_name":"Lost Highway","og:type":"article","og:title":"How to add a search function to NextGen gallery wordpress plugin | Lost Highway","og:description":"NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one... the possibility to search inside the pictures name, alternative text or description. Wouldn't be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I'm not","og:url":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin","fb:app_id":"3039508039607806","fb:admins":"569941764","og:image":"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Anonymat-scaled.jpg","og:image:secure_url":"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Anonymat-scaled.jpg","og:image:width":2560,"og:image:height":1707,"article:tag":["blog","computers","wordpress"],"article:published_time":"2008-09-26T21:59:27+00:00","article:modified_time":"2021-04-01T21:10:02+00:00","article:author":"https:\/\/www.facebook.com\/jcvignolipublic","twitter:card":"summary_large_image","twitter:site":"@jc_vignoli","twitter:title":"How to add a search function to NextGen gallery wordpress plugin | Lost Highway","twitter:description":"NextGen gallery is quite a nice plugin. But it lacks a function, a very obvious one... the possibility to search inside the pictures name, alternative text or description. Wouldn't be nice if you can, with only one search query, display pictures from your gallery matching the searching terms, as well as you posts? I'm not","twitter:creator":"@jc_vignoli","twitter:image":"https:\/\/www.jcvignoli.com\/blog\/wp-content\/uploads\/Anonymat-scaled.jpg","twitter:label1":"\u00c9crit par","twitter:data1":"Jean-Claude Vignoli","twitter:label2":"Estimation du temps de lecture","twitter:data2":"1 minute"},"aioseo_meta_data":{"post_id":"5455","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-09-21 21:45:10","updated":"2023-09-21 21:45:10","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.jcvignoli.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers\" title=\"Computers\">Computers<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers\/blog-en\" title=\"blog\">blog<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to add a search function to NextGen gallery wordpress plugin\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.jcvignoli.com\/blog"},{"label":"Computers","link":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers"},{"label":"blog","link":"https:\/\/www.jcvignoli.com\/blog\/en\/category\/computers\/blog-en"},{"label":"How to add a search function to NextGen gallery wordpress plugin","link":"https:\/\/www.jcvignoli.com\/blog\/en\/2008\/how-to-add-a-search-function-to-nextgen-gallery-wordpress-plugin"}],"language":"en","_links":{"self":[{"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/posts\/5455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/comments?post=5455"}],"version-history":[{"count":1,"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/posts\/5455\/revisions"}],"predecessor-version":[{"id":5456,"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/posts\/5455\/revisions\/5456"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/media\/5299"}],"wp:attachment":[{"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/media?parent=5455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/categories?post=5455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jcvignoli.com\/blog\/wp-json\/wp\/v2\/tags?post=5455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}