{"id":7547,"date":"2009-12-17T21:36:41","date_gmt":"2009-12-17T21:36:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/query-debug-info\/"},"modified":"2009-12-17T21:36:41","modified_gmt":"2009-12-17T21:36:41","slug":"query-debug-info","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/query-debug-info\/","author":4495604,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.5","stable_tag":"trunk","tested":"","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Query Debug Info","header_author":"Carlos Mendoza","header_description":"","assets_banners_color":"","last_updated":"2009-12-17 21:36:41","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=8245725","header_plugin_uri":"http:\/\/onlinevortex.com\/projects\/query-debug-info\/","header_author_uri":"http:\/\/onlinevortex.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1334,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1444274","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1444274","resolution":"1","location":"plugin"}},"screenshots":{"1":"Displaying the information of the default query for the homepage","2":"Displaying the query information for a custom query"}},"plugin_section":[],"plugin_tags":[94,734,4057,1626,1625,5913],"plugin_category":[59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-7547","plugin","type-plugin","status-closed","hentry","plugin_tags-debug","plugin_tags-development","plugin_tags-queries","plugin_tags-query","plugin_tags-sql","plugin_tags-wp_query","plugin_category-utilities-and-tools","plugin_committers-carlosmendoza"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/query-debug-info.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/query-debug-info\/trunk\/screenshot-1.png?rev=1444274","caption":"Displaying the information of the default query for the homepage"},{"src":"https:\/\/ps.w.org\/query-debug-info\/trunk\/screenshot-2.png?rev=1444274","caption":"Displaying the query information for a custom query"}],"raw_content":"<!--section=description-->\n<p>Adds information about the query to the front end, including page type, post count, query vars, the query string and the wordpress sites constants<\/p>\n <p>You can track up to 3 queries with this plugin, usefull to debug custom loops.<\/p>\n\n<!--section=installation-->\n<ul>\n<li>Upload the file to your server and extract it in the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ul>\n <h4>Usage<\/h4>\n <ul>\n<li>Add the function call <code>&lt;?php if (function_exists('debuginfo')) { debuginfo(\"Main\"); }?&gt;<\/code> in your template to display information about the main query<\/li>\n<li>Add additional calls <code>&lt;?php if (function_exists('debuginfo')) { debuginfo(\"Secondary\",2); }?&gt;<\/code> after creating a new WP_Query object, if you want to track a specific variable you can pass it to the function, example:  <\/li>\n<li>The information is only displayed if you are logged in as an administrator.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>0.5<\/h4>\n <ul>\n<li>Initial release of the plugin.<\/li>\n<\/ul>","raw_excerpt":"Adds information about the loop query and custom queries in the frontend","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7547","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=7547"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/carlosmendoza"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7547"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7547"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7547"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7547"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7547"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}