By sustainability active DOHA, April 17, 2017 – Aspire Zone Foundation (AZF) and the Supreme Committee for Delivery & Legacy (SC) have successfully set a new world record for returfing K... Read more
By sustainability active The PyeongChang 2018 Winter Games Curriculum has been designed to help excite, inform and engage students across the Republic of Korea in the countdown to the Olympi... Read more
A symbol of the Arab world, palm trees have long been seen outside football stadiums in the Middle East and form an integral part of Arab culture which have served many generations. If an in... Read more
By Bernard Anyan Minister of Youth and Sports Hon. Isaac Asiamah has disclosed that government is ready to support the nation’s preparation and participation in the Commonwealth Games (CWG).... Read more
The arts and culture program that will light up the Gold Coast and Commonwealth Games event cities in 2018 will be known as Festival 2018. The festival will be a free public celebration that... Read more
Azerbaijan Islamic Solidarity Games Operations Committee (AISGOC) conducted a tree-planting campaign on April 4 within “Successful Future” project as a part of the Development Pr... Read more
Every HTML web page is split into different parts using the <div> tag. For instance, you can break the body (<body>) of your website into several sections such as navigation, header, main content, sidebar and footer amongst others.
Once you have your web page in sections, you can order (or arrange) the sections as you wish using CSS. This process is known as styling, and it involves adding other style elements such as color, size, borders, special effects etc. Such is the power of CSS, which – by the way – is short for Cascading Style Sheets. When you put your HTMl and CSS files together and throw in a couple of images, you end up with a complete website.
Static HTML web pages are split into divisions (what we called sections earlier on) using <div> tags (or tables if you’re really old school). On the other hand, WordPress themes are split into different php files, which are then put back together using template tags.
Therefore, instead of having all body elements (header, main content, sidebar, footer etc) living in a single file (as is the case with static HTML), each of the body elements (in WordPress themes) lives in a separate files.
So, the header will live in header.php, the sidebar will find home in sidebar.php, the main content will live in index.php, or single.php (if it’s a post) or page.php (if it’s a page). The footer section will live in footer.php and so on.
Are you following? Check out the illustration below:
Proin tristique elit et augue varius pellentesque. Donec enim neque, vulputate et commodo in, tristique sed velit. Phasellus adipiscing faucibus felis eget hendrerit. Vestibulum aliquet mauris sed felis convallis, sed tempus augue malesuada. Vivamus mauris lorem, laoreet sed suscipit nec, dapibus at elit. In in augue lobortis, eleifend tortor et, varius eros. Vivamus dignissim sed justo vitae suscipit. Mauris mi sem, malesuada sed sapien ut, sagittis condimentum urna. Nullam lacus mi, vulputate sed sollicitudin in, semper ut elit. Phasellus nec est at leo euismod placerat a porttitor est. Curabitur vel varius nunc, nec tincidunt magna. Proin eros mauris, lobortis id quam non, euismod fringilla nulla. Fusce vel nisi et turpis tempor molestie sit amet a dolor.