Call Hooks for post & page template
This commit is contained in:
parent
faf9bff6bf
commit
96ce07dfbb
|
@ -12,9 +12,12 @@
|
|||
|
||||
</header>
|
||||
|
||||
<?php Theme::plugins('beforePagesLoad'); // Plugin ?>
|
||||
|
||||
<!-- page content -->
|
||||
<div class="page-content">
|
||||
<?php echo $Page->content() ?>
|
||||
</div>
|
||||
|
||||
<?php Theme::plugins('afterPagesLoad'); // Plugin ?>
|
||||
</section>
|
|
@ -10,6 +10,8 @@
|
|||
<a href="<?php echo $Post->permalink() ?>"><?php echo $Post->title() ?></a>
|
||||
</h2>
|
||||
|
||||
<?php Theme::plugins('beforePostsLoad'); // Plugin ?>
|
||||
|
||||
<!-- Post date and author -->
|
||||
<div class="post-meta">
|
||||
<span class="date"><?php echo $Post->dateCreated() ?></span>
|
||||
|
@ -34,4 +36,6 @@
|
|||
<?php echo $Post->content() ?>
|
||||
</div>
|
||||
|
||||
<?php Theme::plugins('afterPostsLoad'); // Plugin ?>
|
||||
|
||||
</section>
|
Loading…
Reference in New Issue