Forget Hooks for page and post template
This commit is contained in:
parent
5b8b29bacf
commit
53b92fc1b2
6
themes/pure/php/page.php
Normal file → Executable file
6
themes/pure/php/page.php
Normal file → Executable file
@ -1,7 +1,9 @@
|
||||
<h1 class="subhead">Page</h1>
|
||||
<h1 class="subhead"><?php echo $Language->get('Page') ?></h1>
|
||||
|
||||
<section class="page">
|
||||
|
||||
<?php Theme::plugins('beforePagesLoad'); // Plugin ?>
|
||||
|
||||
<!-- page header -->
|
||||
<header class="page-header">
|
||||
|
||||
@ -16,5 +18,7 @@
|
||||
<div class="page-content">
|
||||
<?php echo $Page->content() ?>
|
||||
</div>
|
||||
|
||||
<?php Theme::plugins('afterPagesLoad'); // Plugin ?>
|
||||
|
||||
</section>
|
6
themes/pure/php/post.php
Normal file → Executable file
6
themes/pure/php/post.php
Normal file → Executable file
@ -1,7 +1,9 @@
|
||||
<h1 class="subhead">Post</h1>
|
||||
<h1 class="subhead"><?php echo $Language->get('Post') ?></h1>
|
||||
|
||||
<section class="post">
|
||||
|
||||
<?php Theme::plugins('beforePostsLoad'); // Plugin ?>
|
||||
|
||||
<!-- Post header -->
|
||||
<header class="post-header">
|
||||
|
||||
@ -34,4 +36,6 @@
|
||||
<?php echo $Post->content() ?>
|
||||
</div>
|
||||
|
||||
<?php Theme::plugins('afterPostsLoad'); // Plugin ?>
|
||||
|
||||
</section>
|
Loading…
x
Reference in New Issue
Block a user