Skip to content

Instantly share code, notes, and snippets.

@aaemnnosttv
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaemnnosttv/d6d71aff841251febce6 to your computer and use it in GitHub Desktop.
Save aaemnnosttv/d6d71aff841251febce6 to your computer and use it in GitHub Desktop.
PL2X Hook Map
pagelines_before_html
<html>
<head>
pagelines_head
wp_head
pagelines_head_last
</head>
<body>
pagelines_before_site
<div id="site">
pagelines_before_page
<div id="page" class="thepage">
pagelines_page
<div class="page-canvas">
pagelines_before_header
<header id="header" class="container-group">
<div class="outline">
pagelines_header <!-- template area / sections -->
</div>
</header>
pagelines_before_main
<div id="page-main" class="container-group">
<div id="dynamic-content" class="outline">
<!-- template area / sections -->
</div>
pagelines_start_footer
</div>
pagelines_after_main
<div id="morefoot_area" class="container-group">
pagelines_morefoot <!-- template area / sections -->
</div>
</div>
</div>
pagelines_before_footer
<footer id="footer" class="container-group">
<div class="outline fix">
pagelines_footer <!-- template area / sections -->
pagelines_after_footer
<!-- pagelines_cred() -->
</div>
</footer>
</div>
<!-- pagelines footer scripts -->
wp_footer
</body>
</html>
##############################
Sidebar Hooks
##############################
<?php
if(has_action('override_pagelines_sidebar_wrap')):
do_action('override_pagelines_sidebar_wrap');
else:
?>
pagelines_before_sidebar_wrap
<div id="sidebar-wrap" class="">
pagelines_sidebar_wrap <!-- template area / sections (depends on sidebar_wrap_widgets option) -->
<div id="sidebar1" class="scolumn" >
<div class="scolumn-pad">
pagelines_sidebar1 <!-- template area / sections -->
</div>
</div>
<div id="sidebar2" class="scolumn">
<div class="scolumn-pad">
pagelines_sidebar2 <!-- template area / sections -->
</div>
</div>
pagelines_sidebar_wrap <!-- template area / sections (depends on sidebar_wrap_widgets option) -->
</div>
pagelines_after_sidebar_wrap
##############################
Section Hooks
##############################
<!-- Markup Standard -->
pagelines_before_
<section id="%s" class="container %s fix"> <!-- ID, classes -->
<div class="texture"><!-- if ( $this->settings['format'] == 'textured' ) -->
pagelines_outer_
<div class="content">
<div class="content-pad">
pagelines_inside_top_
<!-- section content -->
pagelines_inside_bottom_
</div>
</div>
</div>
</section>
pagelines_after_
<!-- Markup Copy -->
pagelines_before_
<section id="%s" class="copy %s"> <!-- ID, classes -->
<div class="copy-pad">
pagelines_inside_top_
<!-- section content -->
pagelines_inside_bottom_
</div>
</section>
pagelines_after_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment