How to List Only Parent Categories in WordPress

WordPress provides default feature of category archives. We can also create sub-categories of the main category. While listing categories in sidebar via widget it displays all categories including every child category. But what if we want to list only main categories with no other parent category? Find Main or Only Parent Categories in WordPress Here […]

How to Echo New Line in PHP

There are several ways to print a new line in PHP. A line break is quite an important factor in content formatting and organization. Also, content management is required for a better user experience of the website. Echo New Line in PHP Line break helps to make content more readable with proper usage. There are […]