Changeset 713926
- Timestamp:
- 05/16/2013 02:56:15 PM (13 years ago)
- Location:
- genesis-visual-hook-guide/trunk
- Files:
-
- 3 edited
-
g-hooks.php (modified) (5 diffs)
-
markup.css (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
genesis-visual-hook-guide/trunk/g-hooks.php
r713643 r713926 4 4 Plugin URI: http://genesistutorials.com 5 5 Description: Find Genesis hooks (action and filter hooks) quick and easily by seeing their actual locations inside your theme. 6 Version: 0. 8.36 Version: 0.9.0 7 7 Author: Christopher Cochran 8 8 Author URI: http://christophercochran.me … … 184 184 'functions' => array(), 185 185 ), 186 'genesis_before_entry' => array( 187 'hook' => 'genesis_before_entry', 188 'area' => 'Loop', 189 'description' => 'This hook executes before each post in all loop blocks (outside the post_class() article).', 190 'functions' => array(), 191 ), 192 'genesis_entry_header' => array( 193 'hook' => 'genesis_entry_header', 194 'area' => 'Loop', 195 'description' => 'This hook executes immediately inside the article element for each post within the loop.', 196 'functions' => array(), 197 ), 198 'genesis_before_entry_content' => array( 199 'hook' => 'genesis_entry_content', 200 'area' => 'Loop', 201 'description' => 'This hook executes immediately before the post/page content is output, outside the .entry-content div.', 202 'functions' => array(), 203 ), 204 'genesis_entry_content' => array( 205 'hook' => 'genesis_entry_content', 206 'area' => 'Loop', 207 'description' => 'This hook outputs the actual post content and if chosen, the post image (inside the #content div).', 208 'functions' => array(), 209 ), 210 'genesis_after_entry_content' => array( 211 'hook' => 'genesis_entry_content', 212 'area' => 'Loop', 213 'description' => 'This hook executes immediately after the post/page content is output, outside the .entry-content div.', 214 'functions' => array(), 215 ), 216 'genesis_entry_footer' => array( 217 'hook' => 'genesis_entry_footer', 218 'area' => 'Loop', 219 'description' => 'This hook executes immediately before the close of the article element for each post within the loop.', 220 'functions' => array(), 221 ), 222 'genesis_after_entry' => array( 223 'hook' => 'genesis_after_entry', 224 'area' => 'Loop', 225 'description' => 'This hook executes after each post in all loop blocks (outside the post_class() article).', 226 'functions' => array(), 227 ), 186 228 'genesis_before_post' => array( 187 229 'hook' => 'genesis_before_post', … … 439 481 add_filter( 'genesis_breadcrumb_args', 'gvhg_breadcrumb_args'); 440 482 add_filter( 'genesis_footer_backtotop_text', 'gvhg_footer_backtotop_text', 100); 483 add_filter( 'genesis_footer_creds_text', 'gvhg_footer_creds_text', 100); 484 //add_filter( 'genesis_footer_output', 'gvhg_footer_output', 100, 3); 441 485 add_filter( 'genesis_author_box_title', 'gvhg_author_box_title' ); 442 486 add_filter( 'genesis_post_info', 'gvhg_post_info' ); … … 484 528 } 485 529 530 function gvhg_footer_creds_text($creds) { 531 $creds = '<div class="filter">genesis_footer_creds_text</div>'; 532 return $creds; 533 } 534 535 function gvhg_footer_output($output, $backtotop_text, $creds) { 536 $output = '<div class="filter">genesis_footer_output</div>' . $backtotop_text . $creds; 537 return $output; 538 } 539 486 540 function gvhg_breadcrumb_args($args) { 487 541 $args['prefix'] = '<div class="breadcrumb"><span class="filter">genesis_breadcrumb_args</span> '; … … 521 575 } 522 576 523 function gvhg_footer_creds_text($creds) {524 $creds = '<span class="filter">genesis_footer_creds_text</span>';525 return $creds;526 }527 528 577 function gvhg_favicon_url() { 529 578 $favicon = 'genesis_favicon_url'; -
genesis-visual-hook-guide/trunk/markup.css
r459791 r713926 1 .wrap, #wrap, #header, #tite-area, .widget-area, .widget, .widget-wrap, #nav, #subnav, #inner, #content-sidebar-wrap, #content, #sidebar, #sidebar-alt, #footer, .gototop, .creds, #title-area { border: 1px dotted #aaa; padding:30px 3px; position:relative; overflow:hidden; } 1 .site-container, 2 .wrap, 3 #wrap, 4 #header, 5 .title-area, 6 #tite-area, 7 .widget-area, 8 .widget, 9 .widget-wrap, 10 .nav-primary, 11 #nav, 12 .nav-secondary, 13 #subnav, 14 .site-inner, 15 #inner, 16 .content-sidebar-wrap, 17 #content-sidebar-wrap, 18 main.content, 19 #content, 20 article, 21 header, 22 footer, 23 .sidebar-primary, 24 #sidebar, 25 .sidebar-secondary, 26 #sidebar-alt, 27 #footer, 28 .gototop, 29 .creds { 30 position: relative; 31 padding: 30px 3px; 32 border: 1px dotted #aaa; 33 overflow: hidden; 34 } 35 .site-container:before, 36 #wrap:before, 37 .wrap:before, 38 .site-container:before, 39 header.site-header:before, 40 #header:before, 41 .title-area:before, 42 #title-area:before, 43 .widget-area:before, 44 .widget:before, 45 .widget-wrap:before, 46 nav.nav-primary:before, 47 #nav:before, 48 nav.nav-secondary:before, 49 #subnav:before, 50 .site-inner:before, 51 #inner:before, 52 .content-sidebar-wrap:before, 53 #content-sidebar-wrap:before, 54 main.content:before, 55 #content:before, 56 article:before, 57 header:before, 58 footer:before, 59 aside.sidebar-primary:before, 60 #sidebar:before, 61 aside.sidebar-secondary:before, 62 #sidebar-alt:before, 63 footer.site-footer:before, 64 #footer:before, 65 .gototop:before, 66 .creds:before { 67 position: absolute; 68 top: 0; left: 0; 69 padding: 2px 5px; 70 text-transform: lowercase; 71 background: #F89E43; 72 z-index: 9999; 73 } 2 74 3 .wrap:before { 4 content:".wrap"; 5 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 6 } 7 #wrap:before { 8 content:"#wrap"; 9 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 10 } 11 #header { padding-top:35px; } 12 #header:before { 13 content:"#header"; 14 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 15 } 16 #title-area:before { 17 content:"#title-area"; 18 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 19 } 20 .widget-area:before { 21 content:".widget-area"; 22 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 23 } 24 .widget:before { 25 content:".widget"; 26 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 27 } 28 .widget-wrap:before { 29 content:".widget-wrap"; 30 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 31 } 32 #nav:before { 33 content:"#nav"; 34 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 35 } 36 #subnav:before { 37 content:"#subnav"; 38 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 39 } 40 #inner:before { 41 content:"#inner"; 42 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 43 } 44 #content-sidebar-wrap:before { 45 content:"#content-sidebar-wrap"; 46 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 47 } 48 #content:before { 49 content:"#content"; 50 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 51 } 52 #sidebar:before { 53 content:"#sidebar"; 54 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 55 } 56 #sidebar-alt:before { 57 content:"#sidebar-alt"; 58 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 59 } 60 #footer:before { 61 content:"#footer"; 62 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 63 } 64 .gototop:before { 65 content:".gototop"; 66 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 67 } 68 .creds:before { 69 content:".creds"; 70 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 71 } 72 #nav, #subnav, .widget-area, .widget, .wrap, #footer { 73 padding-top:35px !important; 74 } 75 #footer .creds { 76 width:730px; 77 padding:2px 5px; 78 } 79 #footer .gototop { 80 padding:2px 5px; 81 width:195px; 82 } 83 #header .widget-area { 84 width:530px; 85 } 86 #wrap { 87 padding:10px !important; 88 } 89 #sidebar-alt { 90 width:143px !important; 91 }.wrap, #wrap, #header, #tite-area, .widget-area, .widget, .widget-wrap, #nav, #subnav, #inner, #content-sidebar-wrap, #content, #sidebar, #sidebar-alt, #footer, .gototop, .creds, #title-area { border: 1px dotted #aaa; padding:30px 3px; position:relative; overflow:hidden; } 75 .site-container:before { content: ".site-container" } 92 76 93 .wrap:before { 94 content:".wrap"; 95 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 96 } 97 #wrap:before { 98 content:"#wrap"; 99 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 100 } 101 #header { padding-top:35px; } 102 #header:before { 103 content:"#header"; 104 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 105 } 106 #title-area:before { 107 content:"#title-area"; 108 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 109 } 110 .widget-area:before { 111 content:".widget-area"; 112 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 113 } 114 .widget:before { 115 content:".widget"; 116 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 117 } 118 .widget-wrap:before { 119 content:".widget-wrap"; 120 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 121 } 122 #nav:before { 123 content:"#nav"; 124 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 125 } 126 #subnav:before { 127 content:"#subnav"; 128 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 129 } 130 #inner:before { 131 content:"#inner"; 132 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 133 } 134 #content-sidebar-wrap:before { 135 content:"#content-sidebar-wrap"; 136 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 137 } 138 #content:before { 139 content:"#content"; 140 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 141 } 142 #sidebar:before { 143 content:"#sidebar"; 144 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 145 } 146 #sidebar-alt:before { 147 content:"#sidebar-alt"; 148 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 149 } 150 #footer:before { 151 content:"#footer"; 152 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 153 } 154 .gototop:before { 155 content:".gototop"; 156 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 157 } 158 .creds:before { 159 content:".creds"; 160 position:absolute; top:0px; left:0px; padding:2px 5px; background:#F89E43; z-index:9999; text-transform:lowercase; 161 } 162 #nav, #subnav, .widget-area, .widget, .wrap, #footer { 163 padding-top:35px !important; 164 } 165 #footer .creds { 166 width:730px; 167 padding:2px 5px; 168 } 169 #footer .gototop { 170 padding:2px 5px; 171 width:195px; 172 } 173 #header .widget-area { 174 width:530px; 175 } 176 #wrap { 177 padding:10px !important; 178 } 179 #sidebar-alt { 180 width:143px !important; 181 } 77 #wrap:before { content: "#wrap" } 78 79 80 .wrap:before { content: ".wrap" } 81 82 83 header.site-header:before { content: "<header> .site-header" } 84 85 #header:before { content: "#header" } 86 87 .title-area:before { content: ".title-area" } 88 89 #title-area:before { content: "#title-area" } 90 91 92 93 nav.nav-primary:before { content: "<nav> .nav-primary" } 94 95 #nav:before { content: "#nav" } 96 97 nav.nav-secondary:before { content: "<nav> .nav-secondary" } 98 99 #subnav:before { content: "#subnav" } 100 101 102 .site-inner:before { content: ".site-inner" } 103 104 #inner:before { content: "#inner" } 105 106 #content-sidebar-wrap:before { content: "#content-sidebar-wrap" } 107 108 .content-sidebar-wrap:before { content: ".content-sidebar-wrap" } 109 110 main.content:before { content: "<main> .content" } 111 112 #content:before { content: "#content" } 113 114 article:before { content: "<article>" } 115 116 header:before { content: "<header>" } 117 118 footer:before { content: "<footer>" } 119 120 121 aside.sidebar-primary:before { content: "<aside> .sidebar-primary" } 122 123 #sidebar:before { content: "#sidebar" } 124 125 aside.sidebar-secondary:before { content: "<aside> .sidebar-secondary" } 126 127 #sidebar-alt:before { content: "#sidebar-alt" } 128 129 .widget-area:before { content: ".widget-area" } 130 131 .widget-wrap:before { content: ".widget-wrap" } 132 133 .widget:before { content: ".widget" } 134 135 136 footer.site-footer:before { content: "<footer> .site-footer" } 137 138 #footer:before { content: "#footer" } 139 140 .gototop:before { content: ".gototop" } 141 142 .creds:before { content: ".creds" } 143 144 145 #header, 146 header.site-header 147 #nav, 148 .nav-primary, 149 #subnav, 150 .nav-secondary, 151 .widget-area, 152 .widget, 153 .wrap, 154 footer #footer { padding-top: 35px !important } 155 156 #header .widget-area { width: 530px } 157 158 #wrap { padding: 10px !important } 159 160 #sidebar-alt { width: 143px !important } 161 162 #footer .creds { 163 width: 730px; 164 padding: 2px 5px 165 } 166 167 #footer .gototop { 168 width: 195px; 169 padding: 2px 5px 170 } -
genesis-visual-hook-guide/trunk/readme.txt
r713643 r713926 38 38 == Changelog == 39 39 40 = 0.9.0 = 41 * Added: New Hooks from Genesis 2.0 (HTML5): 42 genesis_before_entry, 43 genesis_entry_header, 44 genesis_before_entry_content, 45 genesis_entry_content, 46 genesis_after_entry_content, 47 genesis_entry_footer, 48 genesis_after_entry, 49 genesis_before_post, 50 * Added: New markup containers and classes for Genesis 2.0 (HTML5): 51 * Fixed: Added filter for genesis_footer_creds_text. 52 40 53 = 0.8.3 = 41 54 * Fixed: get_theme_data() deprecated in WP 3.4 / replaced with wp_get_theme().
Note: See TracChangeset
for help on using the changeset viewer.