Loops in PHP – Explained

Loops in PHP allow us to repeat code until certain condition is met. A loop will go round and round and round multiple times executing the code until certain conditions are met. Very similar to the conditional statements but more powerful. There are four PHP looping statements. while – loops through a code block as […]

Continue reading

Register and Show Sidebars in WordPress

This is a detailed post on how you can register and show Sidebars in WordPress. It also contains other useful things you need to know about WordPress sidebars. Sidebar is a theme feature which was introduced in WordPress version 2.2. It’s basically a widget-ready area which can contain widgets. Widgets are used to show additional information […]

Continue reading

Conditional Statements in PHP

PHP allows us to perform actions based on different conditions. This means we can create conditions that evaluates to either true or false and based on that result we can perform certain actions. These are called Conditional Statements. Conditional Statements are also known as – conditional expressions or conditional constructs. Conditional Statements in PHP There are few conditional […]

Continue reading