-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive-program.php
41 lines (39 loc) · 1.16 KB
/
archive-program.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
get_header();
pageBanner(array(
'title' => 'All Programs',
'subtitle' => 'There is something for every one. Have a look around'
));
?>
<!-- <div class="page-banner">
<div class="page-banner__bg-image" style="background-image: url(<?php echo get_theme_file_uri('images/ocean.jpg') ?>);"></div>
<div class="page-banner__content container container--narrow">
<h1 class="page-banner__title">All Programs
<?php
// the_archive_title();
// if(is_category( )) {
// single_cat_title();
// } if(is_author()){
// echo'Posts by '; the_author() ;
// }
?>
</h1>
<div class="page-banner__intro">
<p>There is something for every one. Have a look around </p>
</div>
</div>
</div> -->
<div class="container container--narrow page-section">
<ul class="link-list min-list">
<?php
while (have_posts()) {
the_post(); ?>
<li><a href="<?php the_permalink(); ?>"><?php the_title();?></a></li>
<?php
}
echo paginate_links();
?>
</ul>
<?php
get_footer();
?>