string genesis_markup ( array $args = array() );
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).
- optional An array of configuration arguments, which define which markup, content, and whether to echo out (render) the HTML to the browser.
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.
Hey... hey you... yes you!... Having a good time? Learning new things? Good!
More coming soon…keep checking back.