Easy PHP II: Variables
In the previous introductory PHP tutorial we talked about what PHP looks like and in what kind of environment it runs. To sum up, we said that we write PHP code between tags that look like this: “<?php … ?>” and we end every command line must and in semicolon (;). We use “echo” or “print” in order for PHP to show things to us.
How to Limit Content in WordPress
Have you seen those cool magazine style WordPress themes around this days? They are just cool. You might have noticed that they sometimes show a few words of the post, this is for sure not the default WordPress excerpt showing that because the default excerpt length is set to 55 words and manually excerpting every post would be a great time consumer. So, what are this guys putting together to get that cool effect on their sites by controlling the length of the content?
Easy PHP I: Introduction
I’ve been involved with PHP since I got into the web design and development world. This is because since in my beginnings I chose to use WordPress as a CMS to build websites with and since that day I have been needing PHP to build WordPress themes (and plug-ins lately). I have learned a lot of PHP tips and tricks, but I have not yet been able to study it regularly and eventually an advanced programmer as I aim.
How to Display Recent Comments Without Using a Plugin or Widget
Yes, that’s right, you can have comments displayed in your blog or site running on WordPress without using neither the classic pre-built Recent Comments Widget nor any of the Recent Comments Plugins that are available out there for everybody to use. To do so you need to have two pieces of PHP code with little [...]
How to remove nofollow attribute from your WordPress blog
As you may already know, Wordpress the rel=”nofollow” attribute in comments. That makes any comment with a link on it have no significance for Google when they ranks websites. Getting rid of the rel=”nofollow” attribute is one of the tactics that many WordPress bloggers follow to get more people comment on their blogs. And in [...]
WordPress Bug: Tags do not appear under WP_Query
WordPress has been perfect and bug-free for me. However, I discovered one lately. Firstly I came across this bug when I was developing an Gawker-style WordPress theme for a client of mine. I used custom WP_Query loops several times there and I was asked to display tags inside them too, the way Gawker does. This [...]



