{"id":46156,"date":"2012-06-24T19:38:53","date_gmt":"2012-06-24T19:38:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nextgen-query\/"},"modified":"2013-12-14T23:37:31","modified_gmt":"2013-12-14T23:37:31","slug":"nextgen-query","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/nextgen-query\/","author":8148736,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1.1","stable_tag":"2.1.1","tested":"3.7.41","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"NextGEN Query","header_author":"Ryan Burnette","header_description":"","assets_banners_color":"","last_updated":"2013-12-14 23:37:31","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/bit.ly\/ngqDonate","header_plugin_uri":"","header_author_uri":"http:\/\/ryanburnette.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2889,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.1.0":"<ul>\n<li>Sterilze header works up to NGG 2.0.40<\/li>\n<\/ul>","2.0.0":"<ul>\n<li>A lot has changed with NGG and NGQ<\/li>\n<li>Old NGQ functions have been deprecated, if used they return false to avoid breaking things too badly<\/li>\n<li>New NGQ functions are ngq_singlepic($image_id) and ngq_gallery($gallery_id), give them a try and you&#039;ll see the new structure<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.2.0","2.0.0","2.1.0","2.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[4619],"plugin_category":[],"plugin_contributors":[92254,92253],"plugin_business_model":[],"class_list":["post-46156","plugin","type-plugin","status-closed","hentry","plugin_tags-nextgen-gallery","plugin_contributors-jonathan-garber","plugin_contributors-ryanburnette","plugin_committers-techstudiowp"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nextgen-query.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>NextGEN Query is a companion plugin for NextGEN Gallery. We created it so developers could utilize NGG's awesome back-end interface while removing all front-end traces of the plugin.<\/p>\n\n<p>Upon activation of NGQ you'll notice that there's an 'Query' menu item under the main NGG menu. From here you can check a setting which sterilizes your front-end of NGG's additions.<\/p>\n\n<p>Try using NGQ's two functions; <code>ngq_siglepic($image_id)<\/code> and <code>ngq_gallery($gallery_id)<\/code>. Build front-end elements the way you want to ... without the fuss.<\/p>\n\n<!--section=installation-->\nUpload the <code>nextgen-query<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory\n\nActivate the plugin through the 'Plugins' menu in WordPress\n\nNotice the new <code>Query<\/code> menu item under the NGG menu\n\n<!--section=faq-->\n<dl>\n<dt>How can I use this plugin to remove scripts and styles that NextGEN Gallery adds to the header?<\/dt>\n<dd><p>Install the plugin, activate it. Go to Gallery &gt; Query then check the <code>Sterilze Header<\/code> box. Click <code>Save<\/code>.<\/p><\/dd>\n<dt>What does the ngq_query() function do?<\/dt>\n<dd><p>Nothing. <code>ngq_query()<\/code> is deprecated as of 2.0.0 and returns <code>false<\/code>.<\/p><\/dd>\n<dt>What does the ngq_query_singlepic() function do?<\/dt>\n<dd><p>Nothing. <code>ngq_query_singlepic()<\/code> is deprecated as of 2.0.0 and returns <code>false<\/code>.<\/p><\/dd>\n<dt>How can I control what users see the NextGEN Query options page?<\/dt>\n<dd><p>Set any capability for who can see the options page, just apply a filter to tag 'ngqOptionsPageCapability'.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Sterilze header works up to NGG 2.0.40<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>A much needed update to match NGG 2.0.x, a lot has changed<\/li>\n<li>Sterilze header works again<\/li>\n<li>Deprecated old functions as they are not consistent<\/li>\n<li>Added ngq_singlepic(), ngq_gallery() functions<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Plugin now gracefully disables itself if NGG is not installed and active<\/li>\n<li>Improved documentation<\/li>\n<li>Cleaned up and organized code<\/li>\n<li>Options page now appears only if user has 'manage_options' capability<\/li>\n<li>Change which users see options page using 'ngqOptionsPageCapability' filter<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added ngq_query_singlepic($image_id) function<\/li>\n<li>Tested up to WordPress 3.5.1<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fixed a bug that broke a bunch of back-end functions. Yikes.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Added a bunch more info to the array returned by ngq_query()<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Renamed public function once more to prevent function conflicts<\/li>\n<li>Function can now accept Gallery ID or Gallery Slug<\/li>\n<li>Fixed bug which prevented the shutter and thickbox sheets from being removed from the header<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Updated options page and documentation<\/li>\n<li>Updated interface placement<\/li>\n<li>Renamed main public function<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"NextGEN Query is a back-end tool for developers. Remove all the junk from the header and query galleries directly in PHP.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/46156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=46156"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/techstudiowp"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=46156"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=46156"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=46156"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=46156"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=46156"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=46156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}