Krumo is a debugging software equivalent to print_r() and var_dump(), with the advantage of collapsing array and object values so that it takes less space and let us see only what we really need from complex data.
Hikari Krumo ports it to a Wordpress plugin, so that Krumo becomes easily available in any Wordpress page. Original Krumo has a few bugs fixed and has its options available in an admin page instead of requiring krumo.ini file edited directly.
- The simplicity of print_r() with the details of var_dump()
- Show any data, including its data type
- For arrays and objects, internal data are collapsed, so that it takes less space and you can expand to see only those values you really wanna see, spending much less space
- Works anywhere in Wordpress, backend and frontend
- Hide it from visitors and only those who really need to see dump be able to see it
- Automatically shows PHP file and line where dump happened, a great tool for debugging
Continue Reading »marketing
Many people when start developing plugins and themes to Wordpress don't notice the consequences of writing messy codes until it is too late.
I decided to decicate a whole post to this prefix matter because I know I will come back to it always when possible, and it will be easier to have a post to link instead of repeating myself.
Using a prefix means that, for each plugin or theme we create, we choose a small string that describes this piece of code, and in every function/class, and even hook tags, we add this string before its name.
It may seem boring to those people that still don't understand why this is important, but I'll explain.
Continue Reading »information
If you have any kind of website, and this website has some articles/posts, you probably has a tag cloud on it. If you have this kind of website and doesn't have a tag cloud, you should.
In this article I'm gonna introduce you to tags and tag clouds, show how Wordpress's default Tag Cloud's markup is and talk about Simple Tags, a Wordpress plugin that enhances its tags management UI and also generates its own enhanced Tag Cloud.
After that I'm gonna talk a bit about Semantic and Accessibility, show how these tag clouds are ugly in Semantic and Accessibility point of view, and show how we can improve Simple Tags's Tag Cloud using its almost overlooked core configs.
Continue Reading »homepage
Recently I've made a post that had become really large. While I was still preparing it, I was faced with a damn situation: when it was published it was showing an empty page!
Header, sidebars, footer, post title, comment area... they were all there, but the post itself was gone. How was that possible?
Continue Reading »