The What
Description
The intent of this function is to build the HTML attributes and microdata markup. It parses the attributes by the context, if there are any, loops through and assembles them into the proper format, filters them with genesis_attr_{$context}_output"
, and then returns the markup to the calling code.
Parameters
context
- optional An array of configuration arguments, which define which markup, content, and whether to echo out (render) the HTML to the browser.
attributes
- optional An array of attributes, keyed by the attribute. The default is an empty array.
Return Values
Returns a the markup HTML string.
Hands off the keyboard. Web development starts by thinking first, then planning it out, and then coding it.
More coming soon…keep checking back.