The What
Syntax
string genesis_markup ( array $args = array() );
Description
This function applies the attribute and microdata markup to the HTML element based upon the whether it is HTML5 or XHTML markup and the context. There are two filter events which are fired within this function to give you granular control over what additional markup is applied to the element. In addition, if HTML5 is enabled, then the genesis_attr
function is applied using the specified context.
The entire intent of this function is simply to apply the additional markup for attributes (e.g. classes or an ID) and microdata. And with all Genesis functions, you have the ability to customize the HTML using the supplied filter events (hooks).
Parameters
genesis_markup
- optional An array of configuration arguments, which define which markup, content, and whether to echo out (render) the HTML to the browser.
Return Values
If the argument echo
is set to true
, then the HTML is rendered out to the browser; otherwise, it is returned to the calling code.
You will grow in this profession when you incrementally and systematically stretch yourself....bit-by-bit.
More coming soon…keep checking back.