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