1 | <?php |
||
2 | /** |
||
3 | * Template Name: Archive titles |
||
4 | * The template for displaying comic Archives by titles only. |
||
5 | * |
||
6 | * @package WordPress |
||
7 | * @subpackage Strip |
||
8 | */ |
||
9 | |||
10 | get_header(); ?> |
||
11 | |||
12 | <section id="primary" |
||
13 | <main id="content" role="main"> |
||
14 | |||
15 | <header class="entry-header"> |
||
16 | |||
17 | <?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); ?> |
||
18 | |||
19 | <?php // call the series by title and list them. ?> |
||
20 | |||
21 | <h2 class="series-title"> |
||
22 | |||
23 | <?php |
||
24 | $args = array( |
||
25 | 'post_type' => 'comic', |
||
26 | 'title_li' => esc_html_e( 'All Episodes', 'strip' ), |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
27 | ); |
||
28 | wp_list_pages( $args ); |
||
29 | ?> |
||
30 | </h2> |
||
31 | <br> |
||
32 | |||
33 | </main><!-- #content --> |
||
34 | </section><!-- #primary --> |
||
35 | |||
36 | <?php get_sidebar(); ?> |
||
37 | <?php get_footer(); ?> |
||
38 |