This construct launches the Genesis framework. Its intent is to call each component that builds the specific WordPress web page structure for the browser. It calls the header, main HTML markup structure, content areas, sidebars, and the footer. It’s your launching point to build the web page.
This function is found at the bottom of each template file, such as the index, page, single, archive, etc. Within the Genesis file structure, many times that is the only line of code within a file. Everything else is handled within the framework’s library modules, i.e. found in
This function does not accept any parameters.
It does not return anything.
If you listen carefully, you can hear the 1s and 0s flowing in your computer.
Show It in ActionBasic
In this series of videos, you will walk through the Genesis framework to see what tasks the
genesis function does, what it renders out to the browser, and the files that it calls.
Header – Show It in ActionBasic
The first line within the function is
get_header. Let’s take a look at what this one function does and all of the HTML that it builds.
Main Content – Show It in ActionBasic
Let’s walk through how the main content is built, just after the
<div class="site_inner"> HTML element tag. In this portion of the web page, Genesis, working with WordPress, the plugins, and child theme, is building up the
<main class="content"> area (for HTML5) including the post title, post info, entry content, post meta, pagination, and more.
Hey... hey you... yes you!... Having a good time? Learning new things? Good!
In this video, I will share some master tips with you which unlock the power of Genesis for you, the professional developer. Genesis gives us the ability to fully customize it. That’s your job, right? You want to spend your time wisely on those custom elements of the project.
These are the WordPress constructs used for