Separate Logic From Output

Once HTML is defined within a function for output, the HTML will be separated from the logic! In this case the function is defined twice. A function contains only logic and values ??are returned only as return. The second function will contain HTML, test logic, loops or hooks and outputs[...]

Read More »

How to Change WordPress default avatar

Also want to change the default wordpress avatar called Mystery Man? You want to use your own image instaed of it? Follow this tutorial and choose a avatar which is more suitable to your theme. Open your theme’s functions.php file and add the following rules: add_filter( ‘avatar_defaults’, ‘newgravatar’ ); function[...]

Read More »

101 Techniques for a Powerful CMS using WordPress

This is the first article in the four-part series, “The Comprehensive Guide for a Powerful CMS using WordPress“. Throughout this article, we’ll be focus on many WordPress Theme hacks, ideas, tips and useful tutorials you need to have ready in hand when developing WordPress websites. There are some technical stuff[...]

Read More »