{"id":161586,"date":"2011-05-13T08:00:00","date_gmt":"2011-05-13T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/sm-debug-bar\/"},"modified":"2011-12-30T16:15:00","modified_gmt":"2011-12-30T16:15:00","slug":"sm-debug-bar","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/sm-debug-bar\/","title":{"rendered":"SM Debug Bar"},"content":{"rendered":"<p>EASY TO USE! Developers who build plugins and themes everyday know the constant hassle of finding the proper place to print out PHP variables and objects to see whats going on. This plugin will help you with that process by giving you a simple function to call, that automatically appends a printed version of your variable\/object\/array and sends it to a hidden DIV that only loads when the admin bar loads, and only loads when logged in with administrative permissions in wordpress.<\/p>\n<p>So whats the catch? Well, using utilities like this always prooves difficult because knowing how it works is often complex. We have simplified the process as much as possible. Here is an example:<\/p>\n<p>USAGE -> Quickstart: Open any php file that you know is being loaded and add \u201cdbug($GLOBALS)\u201d to print all global variables.<br \/>\n1. You built a new array thats holding some custom meta data loaded on the page.<br \/>\n2. For some reason, you think its empty, or the values are not acting like you expect.<br \/>\n3. Next step is typically to print it out right?<br \/>\n4. With this plugin activated, simply add the following to your file without the quotes \u201cdbug($myarray);\u201d<br \/>\n5. Maybe its 4 arrays and a string you are trying to follow, no problem \u201cdbug($myarray1); dbug($myarray2); dbug($myarray3); dbug($myarray4); dbug($mystring1);\u201d<br \/>\n6. Now load the page, click the \u201cDebug\u201d link at the top of the screen, watch the debug menu slide out, and notice all your variables are printed nicely for your viewing.<\/p>\n<p>Plugin provided by http:\/\/sethmatics.com\/.<\/p>\n<p>Features include:<\/p>\n<ul>\n<li>Secured so that only logged in administrators can ever see the Debug panel.<\/li>\n<li>Ability to append as many variables for printing as desired.<\/li>\n<li>Now COMPLETELY compatable with the premium \u201cClassiPress\u201d theme which can be purchased at <a href=\"http:\/\/appthemes.com\/cp\/go.php?r=2505&i=b3\" title=\"www.appthemes.com\" rel=\"nofollow ugc\">ClassiPress<\/a><\/li>\n<li>Enter a set of \u201cwatched\u201d variables you want printed so that you can view them without FTP (for portable developers)<\/li>\n<li>Added some jQuery collapse\/expand functions to watched array variables<\/li>\n<\/ul>\n<p>Features Coming soon:<\/p>\n<ul>\n<li>jQuery styling and enhanced array viewing by animated \u201ctree\u201d like array exploring. Navigate your arrays like you would a files and folders.<\/li>\n<li>code coloring \u2013 we realize grey and white is boring and difficult to read when you have alot of it. We plan to take care of that.<\/li>\n<li>plugin options \u2013 currently we are not allowing any options to be chosen, but setting color formats, capabilities that can view the panel, and more.<\/li>\n<li>ability to choose (by checkbox) standard wordpress variables to watch and track instead of all variables requiring manual entry.<\/li>\n<\/ul>\n<p>Don\u2019t forget to rate our plugin so we know how we are doing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EASY TO USE! Dropdown console for wordperss enthusiasts to print and watch the value of PHP variables.<\/p>\n","protected":false},"author":65,"featured_media":346505,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"SM Debug Bar - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"EASY TO USE! Dropdown console for wordperss enthusiasts to print and watch the value of PHP variables."},"footnotes":""},"categories":[1],"tags":[582,7,2701,257,16802],"class_list":["post-161586","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-admin-bar","tag-debug","tag-developer","tag-php","tag-print_r"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/161586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=161586"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/161586\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/346505"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=161586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=161586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=161586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}