Unlock your potential with a Pro Membership
Here is where you propel your career forward. Come join us today. Learn more.
Granular Customization with genesis_parse_attr
Lab: Markup & Wraps – Developer’s Guide to Customizing Genesis
Video Runtime: 13:13
Now you know how the function works and what its intent is. Let’s go and change the markup for the default contextual areas of the HTML markup, i.e. the default stuff in the Genesis framework. You will be doing the following hands-on, code writing stuff in this episode:
- Manipulate and customize the site header as well as the
entry
markup; - Change the
class
attribute by removing it, adding a new class, and even overwriting; - Add an
id
attribute - Add a
data
attribute fordata-post-id
, which will give your JavaScript more information when needed
You get to have some fun with this one.
P.S. If you are not familiar with the HTML data
attribute and how you can use it in JavaScript, no worries, as you’ll have a lab in the future when we explore JavaScript and jQuery deeply. For now, here is an article on MDN that talks about using data attributes.
-
Post ID Data Attribute Code
Hands off the keyboard. Web development starts by thinking first, then planning it out, and then coding it.
Episodes
Total Lab Runtime: 02:51:01
- 1 Lab Introductionfree 04:47
- 2 Genesis Markup - Overviewpro 06:55
- 3 Genesis Markup - genesis_parse_attrpro 14:12
- 4 Granular Customization with genesis_parse_attrpro 13:13
- 5 Genesis Markup - genesis_attr - Part 1pro 16:44
- 6 Genesis Markup - genesis_attr - Part 2pro 11:31
- 7 When should you use genesis_markup?pro 15:05
- 8 How does Genesis know to use HTML5?pro 04:35
- 9 Building the HTML5 with genesis_markuppro 08:15
- 10 Markup Helpers for Empty Class and Accessibilitypro 08:50
- 11 Practical Customization Example - Grid Classespro 11:12
- 12 Practical Customization Example - Figuring Out the First Column in a Rowpro 09:47
- 13 Genesis Structural Wrap Overviewfree 07:42
- 14 Genesis Structural Wrap Code Overviewpro 16:24
- 15 Swapping Old Contextspro 09:37
- 16 Refactoring the Swapping Old Contexts Codepro 06:00
- 17 Configuring Structural Wrapspro 04:54
- 18 Wrap it Upfree 01:18